├── .gitignore
├── README.md
├── build-agent
├── Dockerfile
├── Puppetfile
├── Puppetfile.lock
├── README.md
├── cmd.sh
├── common.yaml
├── modules
│ ├── activemq
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── Vagrantfile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── package
│ │ │ │ ├── rpm.pp
│ │ │ │ └── tarball.pp
│ │ │ ├── params.pp
│ │ │ ├── service.pp
│ │ │ └── stomp.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── activemq_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── modules
│ │ │ │ │ ├── stdlib
│ │ │ │ │ ├── CHANGELOG
│ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.markdown
│ │ │ │ │ ├── README_DEVELOPER.markdown
│ │ │ │ │ ├── README_SPECS.markdown
│ │ │ │ │ ├── RELEASE_PROCESS.markdown
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ ├── facter_dot_d.rb
│ │ │ │ │ │ │ ├── pe_version.rb
│ │ │ │ │ │ │ ├── puppet_vardir.rb
│ │ │ │ │ │ │ ├── root_home.rb
│ │ │ │ │ │ │ └── util
│ │ │ │ │ │ │ │ └── puppet_settings.rb
│ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ ├── abs.rb
│ │ │ │ │ │ │ │ ├── any2array.rb
│ │ │ │ │ │ │ │ ├── bool2num.rb
│ │ │ │ │ │ │ │ ├── capitalize.rb
│ │ │ │ │ │ │ │ ├── chomp.rb
│ │ │ │ │ │ │ │ ├── chop.rb
│ │ │ │ │ │ │ │ ├── concat.rb
│ │ │ │ │ │ │ │ ├── count.rb
│ │ │ │ │ │ │ │ ├── defined_with_params.rb
│ │ │ │ │ │ │ │ ├── delete.rb
│ │ │ │ │ │ │ │ ├── delete_at.rb
│ │ │ │ │ │ │ │ ├── dirname.rb
│ │ │ │ │ │ │ │ ├── downcase.rb
│ │ │ │ │ │ │ │ ├── empty.rb
│ │ │ │ │ │ │ │ ├── ensure_packages.rb
│ │ │ │ │ │ │ │ ├── ensure_resource.rb
│ │ │ │ │ │ │ │ ├── flatten.rb
│ │ │ │ │ │ │ │ ├── floor.rb
│ │ │ │ │ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ │ │ │ │ ├── get_module_path.rb
│ │ │ │ │ │ │ │ ├── getparam.rb
│ │ │ │ │ │ │ │ ├── getvar.rb
│ │ │ │ │ │ │ │ ├── grep.rb
│ │ │ │ │ │ │ │ ├── has_interface_with.rb
│ │ │ │ │ │ │ │ ├── has_ip_address.rb
│ │ │ │ │ │ │ │ ├── has_ip_network.rb
│ │ │ │ │ │ │ │ ├── has_key.rb
│ │ │ │ │ │ │ │ ├── hash.rb
│ │ │ │ │ │ │ │ ├── is_array.rb
│ │ │ │ │ │ │ │ ├── is_domain_name.rb
│ │ │ │ │ │ │ │ ├── is_float.rb
│ │ │ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ │ │ ├── is_hash.rb
│ │ │ │ │ │ │ │ ├── is_integer.rb
│ │ │ │ │ │ │ │ ├── is_ip_address.rb
│ │ │ │ │ │ │ │ ├── is_mac_address.rb
│ │ │ │ │ │ │ │ ├── is_numeric.rb
│ │ │ │ │ │ │ │ ├── is_string.rb
│ │ │ │ │ │ │ │ ├── join.rb
│ │ │ │ │ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ │ │ │ │ ├── keys.rb
│ │ │ │ │ │ │ │ ├── loadyaml.rb
│ │ │ │ │ │ │ │ ├── lstrip.rb
│ │ │ │ │ │ │ │ ├── max.rb
│ │ │ │ │ │ │ │ ├── member.rb
│ │ │ │ │ │ │ │ ├── merge.rb
│ │ │ │ │ │ │ │ ├── min.rb
│ │ │ │ │ │ │ │ ├── num2bool.rb
│ │ │ │ │ │ │ │ ├── parsejson.rb
│ │ │ │ │ │ │ │ ├── parseyaml.rb
│ │ │ │ │ │ │ │ ├── pick.rb
│ │ │ │ │ │ │ │ ├── prefix.rb
│ │ │ │ │ │ │ │ ├── range.rb
│ │ │ │ │ │ │ │ ├── reject.rb
│ │ │ │ │ │ │ │ ├── reverse.rb
│ │ │ │ │ │ │ │ ├── rstrip.rb
│ │ │ │ │ │ │ │ ├── shuffle.rb
│ │ │ │ │ │ │ │ ├── size.rb
│ │ │ │ │ │ │ │ ├── sort.rb
│ │ │ │ │ │ │ │ ├── squeeze.rb
│ │ │ │ │ │ │ │ ├── str2bool.rb
│ │ │ │ │ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ │ │ │ │ ├── strftime.rb
│ │ │ │ │ │ │ │ ├── strip.rb
│ │ │ │ │ │ │ │ ├── suffix.rb
│ │ │ │ │ │ │ │ ├── swapcase.rb
│ │ │ │ │ │ │ │ ├── time.rb
│ │ │ │ │ │ │ │ ├── to_bytes.rb
│ │ │ │ │ │ │ │ ├── type.rb
│ │ │ │ │ │ │ │ ├── unique.rb
│ │ │ │ │ │ │ │ ├── upcase.rb
│ │ │ │ │ │ │ │ ├── uriescape.rb
│ │ │ │ │ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ │ │ │ │ ├── validate_array.rb
│ │ │ │ │ │ │ │ ├── validate_augeas.rb
│ │ │ │ │ │ │ │ ├── validate_bool.rb
│ │ │ │ │ │ │ │ ├── validate_cmd.rb
│ │ │ │ │ │ │ │ ├── validate_hash.rb
│ │ │ │ │ │ │ │ ├── validate_re.rb
│ │ │ │ │ │ │ │ ├── validate_slength.rb
│ │ │ │ │ │ │ │ ├── validate_string.rb
│ │ │ │ │ │ │ │ ├── values.rb
│ │ │ │ │ │ │ │ ├── values_at.rb
│ │ │ │ │ │ │ │ └── zip.rb
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── file_line
│ │ │ │ │ │ │ │ └── ruby.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ ├── anchor.rb
│ │ │ │ │ │ │ └── file_line.rb
│ │ │ │ │ ├── manifests
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ └── stages.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ └── anchor_spec.rb
│ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ └── manifests
│ │ │ │ │ │ │ │ └── site.pp
│ │ │ │ │ │ ├── functions
│ │ │ │ │ │ │ ├── defined_with_params_spec.rb
│ │ │ │ │ │ │ ├── ensure_packages_spec.rb
│ │ │ │ │ │ │ ├── ensure_resource_spec.rb
│ │ │ │ │ │ │ └── getparam_spec.rb
│ │ │ │ │ │ ├── monkey_patches
│ │ │ │ │ │ │ ├── alias_should_to_must.rb
│ │ │ │ │ │ │ └── publicize_methods.rb
│ │ │ │ │ │ ├── spec.opts
│ │ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ │ ├── unit
│ │ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ │ ├── pe_required_facts_spec.rb
│ │ │ │ │ │ │ │ ├── pe_version_spec.rb
│ │ │ │ │ │ │ │ ├── root_home_spec.rb
│ │ │ │ │ │ │ │ └── util
│ │ │ │ │ │ │ │ │ └── puppet_settings_spec.rb
│ │ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ │ ├── abs_spec.rb
│ │ │ │ │ │ │ │ │ ├── any2array_spec.rb
│ │ │ │ │ │ │ │ │ ├── bool2num_spec.rb
│ │ │ │ │ │ │ │ │ ├── capitalize_spec.rb
│ │ │ │ │ │ │ │ │ ├── chomp_spec.rb
│ │ │ │ │ │ │ │ │ ├── chop_spec.rb
│ │ │ │ │ │ │ │ │ ├── concat_spec.rb
│ │ │ │ │ │ │ │ │ ├── count_spec.rb
│ │ │ │ │ │ │ │ │ ├── delete_at_spec.rb
│ │ │ │ │ │ │ │ │ ├── delete_spec.rb
│ │ │ │ │ │ │ │ │ ├── dirname_spec.rb
│ │ │ │ │ │ │ │ │ ├── downcase_spec.rb
│ │ │ │ │ │ │ │ │ ├── empty_spec.rb
│ │ │ │ │ │ │ │ │ ├── flatten_spec.rb
│ │ │ │ │ │ │ │ │ ├── floor_spec.rb
│ │ │ │ │ │ │ │ │ ├── fqdn_rotate_spec.rb
│ │ │ │ │ │ │ │ │ ├── get_module_path_spec.rb
│ │ │ │ │ │ │ │ │ ├── getvar_spec.rb
│ │ │ │ │ │ │ │ │ ├── grep_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_interface_with_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_ip_address_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_ip_network_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_key_spec.rb
│ │ │ │ │ │ │ │ │ ├── hash_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_array_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_domain_name_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_float_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ │ │ │ ├── is_hash_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_integer_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_ip_address_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_mac_address_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_numeric_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_string_spec.rb
│ │ │ │ │ │ │ │ │ ├── join_keys_to_values_spec.rb
│ │ │ │ │ │ │ │ │ ├── join_spec.rb
│ │ │ │ │ │ │ │ │ ├── keys_spec.rb
│ │ │ │ │ │ │ │ │ ├── lstrip_spec.rb
│ │ │ │ │ │ │ │ │ ├── max_spec.rb
│ │ │ │ │ │ │ │ │ ├── member_spec.rb
│ │ │ │ │ │ │ │ │ ├── merge_spec.rb
│ │ │ │ │ │ │ │ │ ├── min_spec.rb
│ │ │ │ │ │ │ │ │ ├── num2bool_spec.rb
│ │ │ │ │ │ │ │ │ ├── parsejson_spec.rb
│ │ │ │ │ │ │ │ │ ├── parseyaml_spec.rb
│ │ │ │ │ │ │ │ │ ├── pick_spec.rb
│ │ │ │ │ │ │ │ │ ├── prefix_spec.rb
│ │ │ │ │ │ │ │ │ ├── range_spec.rb
│ │ │ │ │ │ │ │ │ ├── reject_spec.rb
│ │ │ │ │ │ │ │ │ ├── reverse_spec.rb
│ │ │ │ │ │ │ │ │ ├── rstrip_spec.rb
│ │ │ │ │ │ │ │ │ ├── shuffle_spec.rb
│ │ │ │ │ │ │ │ │ ├── size_spec.rb
│ │ │ │ │ │ │ │ │ ├── sort_spec.rb
│ │ │ │ │ │ │ │ │ ├── squeeze_spec.rb
│ │ │ │ │ │ │ │ │ ├── str2bool_spec.rb
│ │ │ │ │ │ │ │ │ ├── str2saltedsha512_spec.rb
│ │ │ │ │ │ │ │ │ ├── strftime_spec.rb
│ │ │ │ │ │ │ │ │ ├── strip_spec.rb
│ │ │ │ │ │ │ │ │ ├── suffix_spec.rb
│ │ │ │ │ │ │ │ │ ├── swapcase_spec.rb
│ │ │ │ │ │ │ │ │ ├── time_spec.rb
│ │ │ │ │ │ │ │ │ ├── to_bytes_spec.rb
│ │ │ │ │ │ │ │ │ ├── type_spec.rb
│ │ │ │ │ │ │ │ │ ├── unique_spec.rb
│ │ │ │ │ │ │ │ │ ├── upcase_spec.rb
│ │ │ │ │ │ │ │ │ ├── uriescape_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_absolute_path_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_array_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_augeas_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_bool_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_cmd_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_hash_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_re_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_slength_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_string_spec.rb
│ │ │ │ │ │ │ │ │ ├── values_at_spec.rb
│ │ │ │ │ │ │ │ │ ├── values_spec.rb
│ │ │ │ │ │ │ │ │ └── zip_spec.rb
│ │ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ │ └── file_line
│ │ │ │ │ │ │ │ │ └── ruby_spec.rb
│ │ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ │ ├── anchor_spec.rb
│ │ │ │ │ │ │ │ └── file_line_spec.rb
│ │ │ │ │ │ └── watchr.rb
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── file_line.pp
│ │ │ │ │ │ ├── has_interface_with.pp
│ │ │ │ │ │ ├── has_ip_address.pp
│ │ │ │ │ │ ├── has_ip_network.pp
│ │ │ │ │ │ └── init.pp
│ │ │ │ │ └── wget
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ └── spec
│ │ │ │ │ ├── classes
│ │ │ │ │ └── init_spec.rb
│ │ │ │ │ └── spec_helper.rb
│ │ │ ├── manifests
│ │ │ │ └── site.pp
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── activemq-init.d.erb
│ │ │ └── wrapper.conf.erb
│ ├── ant
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── ivy.pp
│ │ │ ├── lib.pp
│ │ │ ├── params.pp
│ │ │ └── tasks
│ │ │ │ ├── maven.pp
│ │ │ │ └── sonar.pp
│ │ ├── metadata.json
│ │ ├── modules
│ │ │ └── wget
│ │ │ │ ├── Gemfile
│ │ │ │ ├── Gemfile.lock
│ │ │ │ ├── Modulefile
│ │ │ │ ├── README.md
│ │ │ │ ├── Rakefile
│ │ │ │ ├── manifests
│ │ │ │ └── init.pp
│ │ │ │ ├── metadata.json
│ │ │ │ └── spec
│ │ │ │ ├── classes
│ │ │ │ └── init_spec.rb
│ │ │ │ ├── fixtures
│ │ │ │ └── manifests
│ │ │ │ │ └── site.pp
│ │ │ │ └── spec_helper.rb
│ │ └── spec
│ │ │ ├── classes
│ │ │ ├── init_spec.rb
│ │ │ ├── ivy_spec.rb
│ │ │ └── tasks
│ │ │ │ ├── maven_spec.rb
│ │ │ │ └── sonar_spec.rb
│ │ │ └── spec_helper.rb
│ ├── apt
│ │ ├── CHANGELOG.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── puppet
│ │ │ │ ├── provider
│ │ │ │ │ └── apt_key
│ │ │ │ │ │ └── apt_key.rb
│ │ │ │ └── type
│ │ │ │ │ └── apt_key.rb
│ │ │ └── puppet_x
│ │ │ │ └── apt_key
│ │ │ │ └── patch_openuri.rb
│ │ ├── manifests
│ │ │ ├── backports.pp
│ │ │ ├── builddep.pp
│ │ │ ├── conf.pp
│ │ │ ├── debian
│ │ │ │ ├── testing.pp
│ │ │ │ └── unstable.pp
│ │ │ ├── force.pp
│ │ │ ├── hold.pp
│ │ │ ├── init.pp
│ │ │ ├── key.pp
│ │ │ ├── params.pp
│ │ │ ├── pin.pp
│ │ │ ├── ppa.pp
│ │ │ ├── release.pp
│ │ │ ├── source.pp
│ │ │ ├── unattended_upgrades.pp
│ │ │ └── update.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── apt_builddep_spec.rb
│ │ │ │ ├── apt_key_provider_spec.rb
│ │ │ │ ├── apt_key_spec.rb
│ │ │ │ ├── apt_ppa_spec.rb
│ │ │ │ ├── apt_source_spec.rb
│ │ │ │ ├── apt_spec.rb
│ │ │ │ ├── backports_spec.rb
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── conf_spec.rb
│ │ │ │ ├── force_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── pin_spec.rb
│ │ │ │ ├── release_spec.rb
│ │ │ │ ├── unattended_upgrade_spec.rb
│ │ │ │ └── unsupported_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── apt_spec.rb
│ │ │ │ ├── backports_spec.rb
│ │ │ │ ├── debian_testing_spec.rb
│ │ │ │ ├── debian_unstable_spec.rb
│ │ │ │ ├── init_spec.rb
│ │ │ │ ├── params_spec.rb
│ │ │ │ ├── release_spec.rb
│ │ │ │ └── unattended_upgrades_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── builddep_spec.rb
│ │ │ │ ├── conf_spec.rb
│ │ │ │ ├── force_spec.rb
│ │ │ │ ├── hold_spec.rb
│ │ │ │ ├── key_spec.rb
│ │ │ │ ├── pin_spec.rb
│ │ │ │ ├── ppa_spec.rb
│ │ │ │ └── source_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ └── type
│ │ │ │ └── apt_key_spec.rb
│ │ ├── templates
│ │ │ ├── 10periodic.erb
│ │ │ ├── 50unattended-upgrades.erb
│ │ │ ├── pin.pref.erb
│ │ │ └── source.list.erb
│ │ └── tests
│ │ │ ├── builddep.pp
│ │ │ ├── debian
│ │ │ ├── testing.pp
│ │ │ └── unstable.pp
│ │ │ ├── force.pp
│ │ │ ├── init.pp
│ │ │ ├── key.pp
│ │ │ ├── params.pp
│ │ │ ├── pin.pp
│ │ │ ├── ppa.pp
│ │ │ ├── release.pp
│ │ │ ├── source.pp
│ │ │ └── unattended_upgrades.pp
│ ├── archiva
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── init_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── modules
│ │ │ │ │ ├── maven
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── Puppetfile
│ │ │ │ │ ├── Puppetfile.lock
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── checksums.json
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ └── maven_version.rb
│ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ └── snapshotbaseversion.rb
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── maven
│ │ │ │ │ │ │ │ └── mvn.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ └── maven.rb
│ │ │ │ │ ├── manifests
│ │ │ │ │ │ ├── buildr.pp
│ │ │ │ │ │ ├── configure.pp
│ │ │ │ │ │ ├── environment.pp
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ ├── install-gem.pp
│ │ │ │ │ │ ├── install_gem.pp
│ │ │ │ │ │ ├── maven.pp
│ │ │ │ │ │ └── settings.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ │ ├── acceptance
│ │ │ │ │ │ │ ├── maven_system_spec.rb
│ │ │ │ │ │ │ └── nodesets
│ │ │ │ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ │ │ │ ├── centos-65-x64-docker.yml
│ │ │ │ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ │ │ │ ├── default.yml
│ │ │ │ │ │ │ │ └── ubuntu-server-1310-x64.yml
│ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ └── maven_spec.rb
│ │ │ │ │ │ ├── defines
│ │ │ │ │ │ │ ├── complete-settings.xml
│ │ │ │ │ │ │ ├── default-mavenrc
│ │ │ │ │ │ │ ├── default-repo-only-url-settings.xml
│ │ │ │ │ │ │ ├── default-repo-settings.xml
│ │ │ │ │ │ │ ├── default-settings.xml
│ │ │ │ │ │ │ ├── environment_spec.rb
│ │ │ │ │ │ │ ├── local-repo-settings.xml
│ │ │ │ │ │ │ ├── mirror-servers-settings.xml
│ │ │ │ │ │ │ ├── populated-mavenrc
│ │ │ │ │ │ │ ├── properties-settings.xml
│ │ │ │ │ │ │ ├── proxy-settings.xml
│ │ │ │ │ │ │ └── settings_spec.rb
│ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ ├── acceptance
│ │ │ │ │ │ │ │ └── maven
│ │ │ │ │ │ │ │ │ ├── repo-1
│ │ │ │ │ │ │ │ │ └── org
│ │ │ │ │ │ │ │ │ │ └── foo
│ │ │ │ │ │ │ │ │ │ └── hello
│ │ │ │ │ │ │ │ │ │ ├── 0.0.1-SNAPSHOT
│ │ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar
│ │ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.md5
│ │ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.sha1
│ │ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom
│ │ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.md5
│ │ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.sha1
│ │ │ │ │ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ │ │ │ └── repo-2
│ │ │ │ │ │ │ │ │ └── org
│ │ │ │ │ │ │ │ │ └── foo
│ │ │ │ │ │ │ │ │ └── hello
│ │ │ │ │ │ │ │ │ ├── 0.0.1-SNAPSHOT
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.md5
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.sha1
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.md5
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.sha1
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.jar
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.jar.md5
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.jar.sha1
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.pom
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.pom.md5
│ │ │ │ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.pom.sha1
│ │ │ │ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ │ └── modules
│ │ │ │ │ │ │ │ └── wget
│ │ │ │ │ │ │ │ ├── Gemfile
│ │ │ │ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ │ │ │ ├── Modulefile
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── Rakefile
│ │ │ │ │ │ │ │ ├── manifests
│ │ │ │ │ │ │ │ └── init.pp
│ │ │ │ │ │ │ │ ├── metadata.json
│ │ │ │ │ │ │ │ └── spec
│ │ │ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ │ └── init_spec.rb
│ │ │ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ │ └── manifests
│ │ │ │ │ │ │ │ │ └── site.pp
│ │ │ │ │ │ │ │ └── spec_helper.rb
│ │ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ │ ├── spec_helper_acceptance.rb
│ │ │ │ │ │ └── unit
│ │ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── maven
│ │ │ │ │ │ │ │ └── mvn_spec.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ └── maven_spec.rb
│ │ │ │ │ ├── templates
│ │ │ │ │ │ ├── mavenrc.erb
│ │ │ │ │ │ └── settings.xml.erb
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── init.pp
│ │ │ │ │ └── wget
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── manifests
│ │ │ │ │ ├── authfetch.pp
│ │ │ │ │ ├── fetch.pp
│ │ │ │ │ └── init.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ └── spec
│ │ │ │ │ ├── classes
│ │ │ │ │ └── init_spec.rb
│ │ │ │ │ ├── defines
│ │ │ │ │ ├── authfetch_spec.rb
│ │ │ │ │ └── fetch_spec.rb
│ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ ├── spec_helper_system.rb
│ │ │ │ │ └── system
│ │ │ │ │ └── wget_system_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── archiva.erb
│ │ │ ├── jetty6.xml.erb
│ │ │ ├── jetty7.xml.erb
│ │ │ ├── jetty8.xml.erb
│ │ │ └── security.properties.erb
│ ├── concat
│ │ ├── CHANGELOG
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ ├── concatfragments.rb
│ │ │ └── concatfragments.sh
│ │ ├── lib
│ │ │ └── facter
│ │ │ │ └── concat_basedir.rb
│ │ ├── manifests
│ │ │ ├── fragment.pp
│ │ │ ├── init.pp
│ │ │ └── setup.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── backup_spec.rb
│ │ │ │ ├── concat_spec.rb
│ │ │ │ ├── deprecation_warnings_spec.rb
│ │ │ │ ├── empty_spec.rb
│ │ │ │ ├── fragment_source_spec.rb
│ │ │ │ ├── newline_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── aix-71-vcloud.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── rhel-7-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── sles-11sp1-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── order_spec.rb
│ │ │ │ ├── quoted_paths_spec.rb
│ │ │ │ ├── replace_spec.rb
│ │ │ │ ├── symbolic_name_spec.rb
│ │ │ │ └── warn_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── classes
│ │ │ │ └── concat_setup_spec.rb
│ │ │ │ ├── defines
│ │ │ │ ├── concat_fragment_spec.rb
│ │ │ │ └── concat_spec.rb
│ │ │ │ └── facts
│ │ │ │ └── concat_basedir_spec.rb
│ │ └── tests
│ │ │ ├── fragment.pp
│ │ │ └── init.pp
│ ├── epel
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ ├── RPM-GPG-KEY-EPEL-5
│ │ │ ├── RPM-GPG-KEY-EPEL-6
│ │ │ └── RPM-GPG-KEY-EPEL-7
│ │ ├── lib
│ │ │ └── facter
│ │ │ │ └── os_maj_version.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ └── rpm_gpg_key.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── epel_spec.rb
│ │ │ │ ├── shared_base.rb
│ │ │ │ ├── shared_debuginfo.rb
│ │ │ │ ├── shared_gpgkey.rb
│ │ │ │ ├── shared_source.rb
│ │ │ │ ├── shared_testing.rb
│ │ │ │ ├── shared_testing_debuginfo.rb
│ │ │ │ └── shared_testing_source.rb
│ │ │ ├── defines
│ │ │ │ └── rpm_gpg_key_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ ├── system
│ │ │ │ ├── basic_spec.rb
│ │ │ │ └── usage_spec.rb
│ │ │ └── unit
│ │ │ │ └── facter
│ │ │ │ └── os_maj_version_spec.rb
│ │ └── tests
│ │ │ └── init.pp
│ ├── firewall
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── ip6tables_version.rb
│ │ │ │ ├── iptables_persistent_version.rb
│ │ │ │ └── iptables_version.rb
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── firewall.rb
│ │ │ │ ├── firewall
│ │ │ │ │ ├── ip6tables.rb
│ │ │ │ │ └── iptables.rb
│ │ │ │ └── firewallchain
│ │ │ │ │ └── iptables_chain.rb
│ │ │ │ ├── type
│ │ │ │ ├── firewall.rb
│ │ │ │ └── firewallchain.rb
│ │ │ │ └── util
│ │ │ │ ├── firewall.rb
│ │ │ │ └── ipcidr.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── linux.pp
│ │ │ └── linux
│ │ │ │ ├── archlinux.pp
│ │ │ │ ├── debian.pp
│ │ │ │ └── redhat.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── acceptance
│ │ │ ├── change_source_spec.rb
│ │ │ ├── class_spec.rb
│ │ │ ├── connlimit_spec.rb
│ │ │ ├── connmark_spec.rb
│ │ │ ├── firewall_spec.rb
│ │ │ ├── firewallchain_spec.rb
│ │ │ ├── ip6_fragment_spec.rb
│ │ │ ├── isfragment_spec.rb
│ │ │ ├── nodesets
│ │ │ │ ├── centos-59-x64-pe.yml
│ │ │ │ ├── centos-59-x64.yml
│ │ │ │ ├── centos-64-x64-fusion.yml
│ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ ├── centos-64-x64.yml
│ │ │ │ ├── debian-607-x64.yml
│ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ ├── default.yml
│ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ ├── sles-11sp1-x64.yml
│ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── params_spec.rb
│ │ │ ├── purge_spec.rb
│ │ │ ├── resource_cmd_spec.rb
│ │ │ ├── rules_spec.rb
│ │ │ ├── socket_spec.rb
│ │ │ ├── standard_usage_spec.rb
│ │ │ └── unsupported_spec.rb
│ │ │ ├── fixtures
│ │ │ ├── ip6tables
│ │ │ │ └── conversion_hash.rb
│ │ │ └── iptables
│ │ │ │ └── conversion_hash.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ ├── classes
│ │ │ ├── firewall_linux_archlinux_spec.rb
│ │ │ ├── firewall_linux_debian_spec.rb
│ │ │ ├── firewall_linux_redhat_spec.rb
│ │ │ ├── firewall_linux_spec.rb
│ │ │ └── firewall_spec.rb
│ │ │ ├── facter
│ │ │ ├── iptables_persistent_version_spec.rb
│ │ │ └── iptables_spec.rb
│ │ │ └── puppet
│ │ │ ├── provider
│ │ │ ├── iptables_chain_spec.rb
│ │ │ └── iptables_spec.rb
│ │ │ ├── type
│ │ │ ├── firewall_spec.rb
│ │ │ └── firewallchain_spec.rb
│ │ │ └── util
│ │ │ ├── firewall_spec.rb
│ │ │ └── ipcidr_spec.rb
│ ├── git
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── resource
│ │ │ │ └── config.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── git_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ └── gitconfig.erb
│ ├── java
│ │ ├── CHANGELOG
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── java_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── tests
│ │ │ └── init.pp
│ ├── jenkins
│ │ ├── Blimpfile
│ │ ├── CHANGELOG.md
│ │ ├── Gemfile
│ │ ├── HACKING.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── Vagrantfile
│ │ ├── bootstrap.sh
│ │ ├── checksums.json
│ │ ├── contrib
│ │ │ └── examples
│ │ │ │ ├── job-configuration
│ │ │ │ ├── build.pp
│ │ │ │ └── templates
│ │ │ │ │ └── build.xml.erb
│ │ │ │ └── plugin-configuration
│ │ │ │ ├── git.pp
│ │ │ │ └── templates
│ │ │ │ └── git.config.xml.erb
│ │ ├── features
│ │ │ ├── deb_support.feature
│ │ │ ├── step_definitions
│ │ │ │ └── deb_support_steps.rb
│ │ │ └── support
│ │ │ │ ├── boxes
│ │ │ │ └── deb
│ │ │ │ │ ├── Vagrantfile
│ │ │ │ │ ├── install-puppet-module.sh
│ │ │ │ │ ├── verify-jenkins-install
│ │ │ │ │ └── verify-plugin-install
│ │ │ │ ├── env.rb
│ │ │ │ └── vagrant.rb
│ │ ├── files
│ │ │ ├── jenkins-slave.Debian
│ │ │ ├── jenkins-slave.RedHat
│ │ │ └── puppet_helper.groovy
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ └── jenkins.rb
│ │ │ └── puppet
│ │ │ │ ├── features
│ │ │ │ └── jpm.rb
│ │ │ │ ├── jenkins.rb
│ │ │ │ ├── jenkins
│ │ │ │ ├── facts.rb
│ │ │ │ ├── okjson.rb
│ │ │ │ └── plugins.rb
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ └── jenkins_port.rb
│ │ │ │ └── provider
│ │ │ │ └── package
│ │ │ │ └── jpm.rb
│ │ ├── manifests
│ │ │ ├── cli.pp
│ │ │ ├── cli_helper.pp
│ │ │ ├── config.pp
│ │ │ ├── credentials.pp
│ │ │ ├── firewall.pp
│ │ │ ├── init.pp
│ │ │ ├── job.pp
│ │ │ ├── job
│ │ │ │ ├── absent.pp
│ │ │ │ └── present.pp
│ │ │ ├── jobs.pp
│ │ │ ├── master.pp
│ │ │ ├── package.pp
│ │ │ ├── params.pp
│ │ │ ├── plugin.pp
│ │ │ ├── plugins.pp
│ │ │ ├── proxy.pp
│ │ │ ├── repo.pp
│ │ │ ├── repo
│ │ │ │ ├── debian.pp
│ │ │ │ ├── el.pp
│ │ │ │ └── suse.pp
│ │ │ ├── security.pp
│ │ │ ├── service.pp
│ │ │ ├── slave.pp
│ │ │ ├── sysconfig.pp
│ │ │ └── user.pp
│ │ ├── metadata.json
│ │ ├── templates
│ │ │ ├── jenkins-slave-defaults.erb
│ │ │ └── proxy.xml.erb
│ │ └── tests
│ │ │ ├── RedHatEnterpriseServer.pp
│ │ │ └── Ubuntu.pp
│ ├── maestro
│ │ ├── Changelog
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── Vagrantfile
│ │ ├── files
│ │ │ ├── agent
│ │ │ │ └── Grant-LogOnAsService.ps1
│ │ │ ├── properties.aug
│ │ │ └── test
│ │ │ │ └── grid_configuration.yml
│ │ ├── manifests
│ │ │ ├── agent.pp
│ │ │ ├── agent
│ │ │ │ ├── absent.pp
│ │ │ │ ├── config.pp
│ │ │ │ ├── package.pp
│ │ │ │ ├── package
│ │ │ │ │ ├── rpm.pp
│ │ │ │ │ ├── tarball.pp
│ │ │ │ │ └── windows.pp
│ │ │ │ ├── service.pp
│ │ │ │ ├── service
│ │ │ │ │ ├── darwin.pp
│ │ │ │ │ ├── linux.pp
│ │ │ │ │ └── windows.pp
│ │ │ │ └── user.pp
│ │ │ ├── init.pp
│ │ │ ├── logging.pp
│ │ │ ├── lucee.pp
│ │ │ ├── lucee
│ │ │ │ └── db.pp
│ │ │ ├── maestro.pp
│ │ │ ├── maestro
│ │ │ │ ├── config.pp
│ │ │ │ ├── db.pp
│ │ │ │ ├── maestro_db.pp
│ │ │ │ ├── package.pp
│ │ │ │ ├── package
│ │ │ │ │ ├── rpm.pp
│ │ │ │ │ └── tarball.pp
│ │ │ │ ├── securityconfig.pp
│ │ │ │ └── service.pp
│ │ │ ├── params.pp
│ │ │ ├── plugin.pp
│ │ │ ├── plugins.pp
│ │ │ ├── test
│ │ │ │ ├── dependencies.pp
│ │ │ │ ├── hub.pp
│ │ │ │ └── remote-control.pp
│ │ │ └── yumrepo.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── agent
│ │ │ │ │ └── absent_spec.rb
│ │ │ │ ├── agent_spec.rb
│ │ │ │ ├── db_spec.rb
│ │ │ │ ├── lucee_spec.rb
│ │ │ │ ├── maestro_spec.rb
│ │ │ │ ├── plugins_spec.rb
│ │ │ │ └── test
│ │ │ │ │ └── maestro-test-remote-control_spec.rb
│ │ │ └── spec_helper.rb
│ │ ├── templates
│ │ │ ├── agent
│ │ │ │ ├── com.maestrodev.agent.plist.erb
│ │ │ │ ├── maestro-agent.erb
│ │ │ │ ├── maestro_agent.json.erb
│ │ │ │ └── sysconfig.erb
│ │ │ ├── jetty-jmx.xml.erb
│ │ │ ├── jetty.xml.erb
│ │ │ ├── lucee-lib.json.erb
│ │ │ ├── lucee
│ │ │ │ └── maestro_lucee.json.erb
│ │ │ ├── maestro.erb
│ │ │ ├── maestro.properties.erb
│ │ │ ├── plexus.xml.erb
│ │ │ ├── security.properties.erb
│ │ │ ├── startup_wait.sh.erb
│ │ │ ├── sysconfig.erb
│ │ │ └── test
│ │ │ │ └── remote-control-wrapper.erb
│ │ └── tests
│ │ │ ├── agent.pp
│ │ │ ├── common.pp
│ │ │ └── maestro.pp
│ ├── maestro_nodes
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── Vagrantfile
│ │ ├── files
│ │ │ ├── nginx
│ │ │ │ └── default.conf
│ │ │ └── puppet-enterprise-installer-answers.txt
│ │ ├── manifests
│ │ │ ├── agent.pp
│ │ │ ├── agent
│ │ │ │ ├── ant.pp
│ │ │ │ ├── git.pp
│ │ │ │ ├── jenkins.pp
│ │ │ │ ├── maven.pp
│ │ │ │ └── rvm.pp
│ │ │ ├── agentrvm.pp
│ │ │ ├── androidsdk.pp
│ │ │ ├── archivaserver.pp
│ │ │ ├── database.pp
│ │ │ ├── firewall.pp
│ │ │ ├── firewall
│ │ │ │ ├── maestro.pp
│ │ │ │ ├── post.pp
│ │ │ │ ├── pre.pp
│ │ │ │ └── puppetmaster.pp
│ │ │ ├── jenkinsserver.pp
│ │ │ ├── macos_agent.pp
│ │ │ ├── maestrofirewall.pp
│ │ │ ├── maestroserver.pp
│ │ │ ├── mail.pp
│ │ │ ├── metrics_repo.pp
│ │ │ ├── nginx
│ │ │ │ ├── archiva.pp
│ │ │ │ ├── archivaservernginx.pp
│ │ │ │ ├── jenkins.pp
│ │ │ │ ├── jenkinsservernginx.pp
│ │ │ │ ├── maestroservernginx.pp
│ │ │ │ ├── params.pp
│ │ │ │ └── sonar.pp
│ │ │ ├── nginxproxy.pp
│ │ │ ├── nodes
│ │ │ │ └── parent.pp
│ │ │ ├── parent.pp
│ │ │ ├── puppetenterprise.pp
│ │ │ ├── puppetforge.pp
│ │ │ ├── repositories.pp
│ │ │ ├── rubygems.pp
│ │ │ └── sonarserver.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── agent_spec.rb
│ │ │ │ ├── agentrvm_spec.rb
│ │ │ │ ├── archivaserver_spec.rb
│ │ │ │ ├── jenkinsserver_spec.rb
│ │ │ │ ├── maestroserver_spec.rb
│ │ │ │ ├── nginx
│ │ │ │ │ ├── archiva_spec.rb
│ │ │ │ │ ├── archivaservernginx_spec.rb
│ │ │ │ │ ├── jenkins_spec.rb
│ │ │ │ │ ├── jenkinsservernginx_spec.rb
│ │ │ │ │ ├── maestroservernginx_spec.rb
│ │ │ │ │ ├── nginx_proxy_shared.rb
│ │ │ │ │ └── sonar_spec.rb
│ │ │ │ ├── nginxproxy_spec.rb
│ │ │ │ ├── parent_spec.rb
│ │ │ │ ├── puppetenterprise_spec.rb
│ │ │ │ ├── puppetforge_spec.rb
│ │ │ │ ├── rubygems_spec.rb
│ │ │ │ └── sonarserver_spec.rb
│ │ │ ├── fixtures
│ │ │ │ ├── hiera.yaml
│ │ │ │ └── hieradata
│ │ │ │ │ └── default.yaml
│ │ │ ├── spec_helper.rb
│ │ │ └── support
│ │ │ │ ├── centos.rb
│ │ │ │ └── redhat.rb
│ │ ├── templates
│ │ │ ├── androidsdk.properties.erb
│ │ │ ├── ant.xml.erb
│ │ │ ├── archiva.xml.erb
│ │ │ ├── puppet_enterprise_installer.txt.erb
│ │ │ └── puppetforge.yml.erb
│ │ └── tests
│ │ │ └── site.pp
│ ├── maven
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ └── maven_version.rb
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ └── snapshotbaseversion.rb
│ │ │ │ ├── provider
│ │ │ │ └── maven
│ │ │ │ │ └── mvn.rb
│ │ │ │ └── type
│ │ │ │ └── maven.rb
│ │ ├── manifests
│ │ │ ├── buildr.pp
│ │ │ ├── configure.pp
│ │ │ ├── environment.pp
│ │ │ ├── init.pp
│ │ │ ├── install-gem.pp
│ │ │ ├── install_gem.pp
│ │ │ ├── maven.pp
│ │ │ └── settings.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── maven_system_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64-docker.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ └── ubuntu-server-1310-x64.yml
│ │ │ ├── classes
│ │ │ │ └── maven_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── complete-settings.xml
│ │ │ │ ├── default-mavenrc
│ │ │ │ ├── default-repo-only-url-settings.xml
│ │ │ │ ├── default-repo-settings.xml
│ │ │ │ ├── default-settings.xml
│ │ │ │ ├── environment_spec.rb
│ │ │ │ ├── local-repo-settings.xml
│ │ │ │ ├── mirror-servers-settings.xml
│ │ │ │ ├── populated-mavenrc
│ │ │ │ ├── properties-settings.xml
│ │ │ │ ├── proxy-settings.xml
│ │ │ │ └── settings_spec.rb
│ │ │ ├── fixtures
│ │ │ │ ├── acceptance
│ │ │ │ │ └── maven
│ │ │ │ │ │ ├── repo-1
│ │ │ │ │ │ └── org
│ │ │ │ │ │ │ └── foo
│ │ │ │ │ │ │ └── hello
│ │ │ │ │ │ │ ├── 0.0.1-SNAPSHOT
│ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar
│ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.md5
│ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.sha1
│ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom
│ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.md5
│ │ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.sha1
│ │ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ └── repo-2
│ │ │ │ │ │ └── org
│ │ │ │ │ │ └── foo
│ │ │ │ │ │ └── hello
│ │ │ │ │ │ ├── 0.0.1-SNAPSHOT
│ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar
│ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.md5
│ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.jar.sha1
│ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom
│ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.md5
│ │ │ │ │ │ ├── hello-0.0.1-20131008.014634-1.pom.sha1
│ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.jar
│ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.jar.md5
│ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.jar.sha1
│ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.pom
│ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.pom.md5
│ │ │ │ │ │ ├── hello-0.0.1-20131008.025235-2.pom.sha1
│ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ │ │ ├── maven-metadata.xml
│ │ │ │ │ │ ├── maven-metadata.xml.md5
│ │ │ │ │ │ └── maven-metadata.xml.sha1
│ │ │ │ └── modules
│ │ │ │ │ └── wget
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ └── spec
│ │ │ │ │ ├── classes
│ │ │ │ │ └── init_spec.rb
│ │ │ │ │ ├── fixtures
│ │ │ │ │ └── manifests
│ │ │ │ │ │ └── site.pp
│ │ │ │ │ └── spec_helper.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ └── maven
│ │ │ │ │ └── mvn_spec.rb
│ │ │ │ └── type
│ │ │ │ └── maven_spec.rb
│ │ ├── templates
│ │ │ ├── mavenrc.erb
│ │ │ └── settings.xml.erb
│ │ └── tests
│ │ │ └── init.pp
│ ├── mongodb
│ │ ├── .bundle
│ │ │ └── config
│ │ ├── .fixtures.yml
│ │ ├── .forge-release
│ │ │ ├── pom.xml
│ │ │ ├── publish
│ │ │ ├── settings.xml
│ │ │ └── validate
│ │ ├── .nodeset.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ └── sources
│ │ │ │ ├── apt.pp
│ │ │ │ └── yum.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── mongodb_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── system
│ │ │ │ ├── basic_spec.rb
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── mongodb_config_spec.rb
│ │ │ │ ├── mongodb_install_spec.rb
│ │ │ │ └── mongodb_service_spec.rb
│ │ ├── templates
│ │ │ └── mongodb.conf.erb
│ │ └── tests
│ │ │ ├── init.pp
│ │ │ ├── init_10gen.pp
│ │ │ └── sources
│ │ │ ├── apt.pp
│ │ │ └── yum.pp
│ ├── nginx
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── composer.json
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── package.pp
│ │ │ ├── package
│ │ │ │ ├── debian.pp
│ │ │ │ ├── redhat.pp
│ │ │ │ ├── solaris.pp
│ │ │ │ └── suse.pp
│ │ │ ├── params.pp
│ │ │ ├── resource
│ │ │ │ ├── location.pp
│ │ │ │ ├── mailhost.pp
│ │ │ │ ├── upstream.pp
│ │ │ │ └── vhost.pp
│ │ │ └── service.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── config_spec.rb
│ │ │ │ ├── nginx_spec.rb
│ │ │ │ ├── package_spec.rb
│ │ │ │ ├── params_spec.rb
│ │ │ │ └── service_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── resource_location_spec.rb
│ │ │ │ ├── resource_mailhost_spec.rb
│ │ │ │ ├── resource_upstream_spec.rb
│ │ │ │ └── resource_vhost_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── system
│ │ │ │ ├── basic_spec.rb
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── nginx_mail_spec.rb
│ │ │ │ ├── nginx_proxy_spec.rb
│ │ │ │ └── nginx_vhost_spec.rb
│ │ ├── templates
│ │ │ ├── conf.d
│ │ │ │ ├── nginx.conf.erb
│ │ │ │ ├── proxy.conf.erb
│ │ │ │ └── upstream.erb
│ │ │ ├── mailhost
│ │ │ │ ├── mailhost.erb
│ │ │ │ └── mailhost_ssl.erb
│ │ │ └── vhost
│ │ │ │ ├── fastcgi_params.erb
│ │ │ │ ├── vhost_footer.erb
│ │ │ │ ├── vhost_header.erb
│ │ │ │ ├── vhost_location_alias.erb
│ │ │ │ ├── vhost_location_directory.erb
│ │ │ │ ├── vhost_location_empty.erb
│ │ │ │ ├── vhost_location_fastcgi.erb
│ │ │ │ ├── vhost_location_proxy.erb
│ │ │ │ ├── vhost_location_stub_status.erb
│ │ │ │ ├── vhost_ssl_footer.erb
│ │ │ │ └── vhost_ssl_header.erb
│ │ └── tests
│ │ │ ├── init.pp
│ │ │ ├── location_alias.pp
│ │ │ ├── upstream.pp
│ │ │ ├── vhost.pp
│ │ │ └── vhost_ssl.pp
│ ├── nodejs
│ │ ├── CHANGELOG
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ └── provider
│ │ │ │ └── package
│ │ │ │ └── npm.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── npm.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── nodejs_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── unit
│ │ │ │ │ └── puppet
│ │ │ │ │ └── provider
│ │ │ │ │ └── pakages
│ │ │ │ │ └── npm
│ │ │ │ │ └── npm_global
│ │ │ ├── puppetlabs_spec
│ │ │ │ ├── files.rb
│ │ │ │ ├── fixtures.rb
│ │ │ │ └── matchers.rb
│ │ │ ├── puppetlabs_spec_helper.rb
│ │ │ ├── spec_helper.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ └── provider
│ │ │ │ └── pakages
│ │ │ │ └── npm_spec.rb
│ │ └── tests
│ │ │ ├── init.pp
│ │ │ └── npm.pp
│ ├── ntp
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ ├── params.pp
│ │ │ └── service.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── disable_monitoring_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ └── ubuntu-server-12042-x64.yml
│ │ │ │ ├── ntp_config_spec.rb
│ │ │ │ ├── ntp_install_spec.rb
│ │ │ │ ├── ntp_parameters_spec.rb
│ │ │ │ ├── ntp_service_spec.rb
│ │ │ │ ├── preferred_servers_spec.rb
│ │ │ │ ├── restrict_spec.rb
│ │ │ │ └── unsupported_spec.rb
│ │ │ ├── classes
│ │ │ │ └── ntp_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── modules
│ │ │ │ │ └── my_ntp
│ │ │ │ │ └── templates
│ │ │ │ │ └── ntp.conf.erb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ └── README.markdown
│ │ │ │ └── type
│ │ │ │ └── README.markdown
│ │ ├── templates
│ │ │ └── ntp.conf.erb
│ │ └── tests
│ │ │ └── init.pp
│ ├── postgresql
│ │ ├── CHANGELOG.md
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── files
│ │ │ ├── RPM-GPG-KEY-PGDG
│ │ │ └── validate_postgresql_connection.sh
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── postgresql_acls_to_resources_hash.rb
│ │ │ │ │ ├── postgresql_escape.rb
│ │ │ │ │ └── postgresql_password.rb
│ │ │ │ ├── provider
│ │ │ │ ├── postgresql_conf
│ │ │ │ │ └── parsed.rb
│ │ │ │ └── postgresql_psql
│ │ │ │ │ └── ruby.rb
│ │ │ │ └── type
│ │ │ │ ├── postgresql_conf.rb
│ │ │ │ └── postgresql_psql.rb
│ │ ├── manifests
│ │ │ ├── client.pp
│ │ │ ├── globals.pp
│ │ │ ├── lib
│ │ │ │ ├── devel.pp
│ │ │ │ ├── java.pp
│ │ │ │ ├── perl.pp
│ │ │ │ └── python.pp
│ │ │ ├── params.pp
│ │ │ ├── repo.pp
│ │ │ ├── repo
│ │ │ │ ├── apt_postgresql_org.pp
│ │ │ │ └── yum_postgresql_org.pp
│ │ │ ├── server.pp
│ │ │ ├── server
│ │ │ │ ├── config.pp
│ │ │ │ ├── config_entry.pp
│ │ │ │ ├── contrib.pp
│ │ │ │ ├── database.pp
│ │ │ │ ├── database_grant.pp
│ │ │ │ ├── db.pp
│ │ │ │ ├── firewall.pp
│ │ │ │ ├── grant.pp
│ │ │ │ ├── initdb.pp
│ │ │ │ ├── install.pp
│ │ │ │ ├── passwd.pp
│ │ │ │ ├── pg_hba_rule.pp
│ │ │ │ ├── plperl.pp
│ │ │ │ ├── postgis.pp
│ │ │ │ ├── reload.pp
│ │ │ │ ├── role.pp
│ │ │ │ ├── service.pp
│ │ │ │ ├── table_grant.pp
│ │ │ │ └── tablespace.pp
│ │ │ └── validate_db_connection.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── client_spec.rb
│ │ │ │ ├── common_patterns_spec.rb
│ │ │ │ ├── contrib_spec.rb
│ │ │ │ ├── lib
│ │ │ │ │ ├── devel_spec.rb
│ │ │ │ │ ├── java_spec.rb
│ │ │ │ │ ├── perl_spec.rb
│ │ │ │ │ └── python_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-510-x64.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── postgresql_psql_spec.rb
│ │ │ │ ├── server
│ │ │ │ │ ├── config_entry_spec.rb
│ │ │ │ │ ├── database_grant_spec.rb
│ │ │ │ │ ├── database_spec.rb
│ │ │ │ │ ├── db_spec.rb
│ │ │ │ │ ├── grant_spec.rb
│ │ │ │ │ ├── pg_hba_rule_spec.rb
│ │ │ │ │ ├── plperl_spec.rb
│ │ │ │ │ ├── role_spec.rb
│ │ │ │ │ ├── table_grant_spec.rb
│ │ │ │ │ └── tablespace_spec.rb
│ │ │ │ ├── server_spec.rb
│ │ │ │ ├── unsupported_spec.rb
│ │ │ │ └── validate_db_connection_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── classes
│ │ │ │ ├── client_spec.rb
│ │ │ │ ├── globals_spec.rb
│ │ │ │ ├── lib
│ │ │ │ │ ├── devel_spec.rb
│ │ │ │ │ ├── java_spec.rb
│ │ │ │ │ ├── perl_spec.rb
│ │ │ │ │ └── python_spec.rb
│ │ │ │ ├── params_spec.rb
│ │ │ │ ├── repo_spec.rb
│ │ │ │ ├── server
│ │ │ │ │ ├── contrib_spec.rb
│ │ │ │ │ ├── initdb_spec.rb
│ │ │ │ │ ├── plperl_spec.rb
│ │ │ │ │ └── postgis_spec.rb
│ │ │ │ └── server_spec.rb
│ │ │ │ ├── defines
│ │ │ │ ├── server
│ │ │ │ │ ├── config_entry_spec.rb
│ │ │ │ │ ├── database_grant_spec.rb
│ │ │ │ │ ├── database_spec.rb
│ │ │ │ │ ├── db_spec.rb
│ │ │ │ │ ├── grant_spec.rb
│ │ │ │ │ ├── pg_hba_rule_spec.rb
│ │ │ │ │ ├── role_spec.rb
│ │ │ │ │ ├── table_grant_spec.rb
│ │ │ │ │ └── tablespace_spec.rb
│ │ │ │ └── validate_db_connection_spec.rb
│ │ │ │ ├── functions
│ │ │ │ ├── postgresql_acls_to_resources_hash_spec.rb
│ │ │ │ ├── postgresql_escape_spec.rb
│ │ │ │ └── postgresql_password_spec.rb
│ │ │ │ ├── provider
│ │ │ │ └── postgresql_conf
│ │ │ │ │ └── parsed_spec.rb
│ │ │ │ ├── puppet
│ │ │ │ ├── provider
│ │ │ │ │ └── postgresql_psql
│ │ │ │ │ │ └── ruby_spec.rb
│ │ │ │ └── type
│ │ │ │ │ └── postgresql_psql_spec.rb
│ │ │ │ └── type
│ │ │ │ └── postgresql_conf_spec.rb
│ │ └── templates
│ │ │ ├── pg_hba_rule.conf
│ │ │ └── systemd-port-override.erb
│ ├── powershell
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ └── provider
│ │ │ │ └── exec
│ │ │ │ └── powershell.rb
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── spec_helper.rb
│ │ │ └── unit
│ │ │ │ └── provider
│ │ │ │ └── exec
│ │ │ │ └── powershell_spec.rb
│ │ └── tests
│ │ │ └── init.pp
│ ├── rvm
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── rvm_installed.rb
│ │ │ │ └── rvm_version.rb
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── rvm_alias
│ │ │ │ │ └── alias.rb
│ │ │ │ ├── rvm_gem
│ │ │ │ │ └── gem.rb
│ │ │ │ ├── rvm_gemset
│ │ │ │ │ └── gemset.rb
│ │ │ │ ├── rvm_system_ruby
│ │ │ │ │ └── rvm_system_ruby.rb
│ │ │ │ └── rvm_wrapper
│ │ │ │ │ └── wrapper.rb
│ │ │ │ └── type
│ │ │ │ ├── rvm_alias.rb
│ │ │ │ ├── rvm_gem.rb
│ │ │ │ ├── rvm_gemset.rb
│ │ │ │ ├── rvm_system_ruby.rb
│ │ │ │ └── rvm_wrapper.rb
│ │ ├── manifests
│ │ │ ├── dependencies.pp
│ │ │ ├── dependencies
│ │ │ │ ├── centos.pp
│ │ │ │ ├── oraclelinux.pp
│ │ │ │ └── ubuntu.pp
│ │ │ ├── gpg.pp
│ │ │ ├── group.pp
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ ├── passenger
│ │ │ │ ├── apache.pp
│ │ │ │ ├── dependencies.pp
│ │ │ │ ├── dependencies
│ │ │ │ │ ├── centos.pp
│ │ │ │ │ ├── oraclelinux.pp
│ │ │ │ │ └── ubuntu.pp
│ │ │ │ └── gem.pp
│ │ │ ├── rvmrc.pp
│ │ │ ├── system.pp
│ │ │ └── system_user.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-65-x64-docker.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-1404-x64-docker.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ └── rvm_system_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── dependencies_spec.rb
│ │ │ │ ├── gpg_spec.rb
│ │ │ │ ├── init_spec.rb
│ │ │ │ ├── rvmrc_spec.rb
│ │ │ │ └── system_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── rvm_alias_spec.rb
│ │ │ │ ├── rvm_gem_spec.rb
│ │ │ │ ├── rvm_gemset_spec.rb
│ │ │ │ ├── rvm_system_ruby_spec.rb
│ │ │ │ ├── rvm_wrapper_spec.rb
│ │ │ │ └── system_user_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ ├── templates
│ │ │ └── rvmrc.erb
│ │ └── tests
│ │ │ └── init.pp
│ ├── sonar
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── move_to_home.pp
│ │ │ └── plugin.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── init_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── modules
│ │ │ │ │ ├── maven
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── Puppetfile
│ │ │ │ │ ├── Puppetfile.lock
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── Vagrantfile
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ └── maven_version.rb
│ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ └── snapshotbaseversion.rb
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── maven
│ │ │ │ │ │ │ │ └── mvn.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ └── maven.rb
│ │ │ │ │ ├── manifests
│ │ │ │ │ │ ├── buildr.pp
│ │ │ │ │ │ ├── configure.pp
│ │ │ │ │ │ ├── environment.pp
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ ├── install-gem.pp
│ │ │ │ │ │ ├── install_gem.pp
│ │ │ │ │ │ ├── maven.pp
│ │ │ │ │ │ └── settings.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ └── maven_spec.rb
│ │ │ │ │ │ ├── defines
│ │ │ │ │ │ │ ├── complete-settings.xml
│ │ │ │ │ │ │ ├── default-mavenrc
│ │ │ │ │ │ │ ├── default-repo-only-url-settings.xml
│ │ │ │ │ │ │ ├── default-repo-settings.xml
│ │ │ │ │ │ │ ├── default-settings.xml
│ │ │ │ │ │ │ ├── environment_spec.rb
│ │ │ │ │ │ │ ├── local-repo-settings.xml
│ │ │ │ │ │ │ ├── mirror-servers-settings.xml
│ │ │ │ │ │ │ ├── populated-mavenrc
│ │ │ │ │ │ │ ├── properties-settings.xml
│ │ │ │ │ │ │ ├── proxy-settings.xml
│ │ │ │ │ │ │ └── settings_spec.rb
│ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ └── modules
│ │ │ │ │ │ │ │ └── wget
│ │ │ │ │ │ │ │ ├── Gemfile
│ │ │ │ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ │ │ │ ├── Modulefile
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── Rakefile
│ │ │ │ │ │ │ │ ├── manifests
│ │ │ │ │ │ │ │ └── init.pp
│ │ │ │ │ │ │ │ ├── metadata.json
│ │ │ │ │ │ │ │ └── spec
│ │ │ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ │ └── init_spec.rb
│ │ │ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ │ └── manifests
│ │ │ │ │ │ │ │ │ └── site.pp
│ │ │ │ │ │ │ │ └── spec_helper.rb
│ │ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ │ ├── spec_helper_system.rb
│ │ │ │ │ │ ├── system
│ │ │ │ │ │ │ └── maven_system_spec.rb
│ │ │ │ │ │ └── unit
│ │ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── maven
│ │ │ │ │ │ │ │ └── mvn_spec.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ └── maven_spec.rb
│ │ │ │ │ ├── templates
│ │ │ │ │ │ ├── mavenrc.erb
│ │ │ │ │ │ └── settings.xml.erb
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── init.pp
│ │ │ │ │ ├── stdlib
│ │ │ │ │ ├── CHANGELOG
│ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.markdown
│ │ │ │ │ ├── README_DEVELOPER.markdown
│ │ │ │ │ ├── README_SPECS.markdown
│ │ │ │ │ ├── RELEASE_PROCESS.markdown
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ ├── facter_dot_d.rb
│ │ │ │ │ │ │ ├── pe_version.rb
│ │ │ │ │ │ │ ├── puppet_vardir.rb
│ │ │ │ │ │ │ ├── root_home.rb
│ │ │ │ │ │ │ └── util
│ │ │ │ │ │ │ │ └── puppet_settings.rb
│ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ ├── abs.rb
│ │ │ │ │ │ │ │ ├── any2array.rb
│ │ │ │ │ │ │ │ ├── bool2num.rb
│ │ │ │ │ │ │ │ ├── capitalize.rb
│ │ │ │ │ │ │ │ ├── chomp.rb
│ │ │ │ │ │ │ │ ├── chop.rb
│ │ │ │ │ │ │ │ ├── concat.rb
│ │ │ │ │ │ │ │ ├── count.rb
│ │ │ │ │ │ │ │ ├── defined_with_params.rb
│ │ │ │ │ │ │ │ ├── delete.rb
│ │ │ │ │ │ │ │ ├── delete_at.rb
│ │ │ │ │ │ │ │ ├── dirname.rb
│ │ │ │ │ │ │ │ ├── downcase.rb
│ │ │ │ │ │ │ │ ├── empty.rb
│ │ │ │ │ │ │ │ ├── ensure_packages.rb
│ │ │ │ │ │ │ │ ├── ensure_resource.rb
│ │ │ │ │ │ │ │ ├── flatten.rb
│ │ │ │ │ │ │ │ ├── floor.rb
│ │ │ │ │ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ │ │ │ │ ├── get_module_path.rb
│ │ │ │ │ │ │ │ ├── getparam.rb
│ │ │ │ │ │ │ │ ├── getvar.rb
│ │ │ │ │ │ │ │ ├── grep.rb
│ │ │ │ │ │ │ │ ├── has_interface_with.rb
│ │ │ │ │ │ │ │ ├── has_ip_address.rb
│ │ │ │ │ │ │ │ ├── has_ip_network.rb
│ │ │ │ │ │ │ │ ├── has_key.rb
│ │ │ │ │ │ │ │ ├── hash.rb
│ │ │ │ │ │ │ │ ├── is_array.rb
│ │ │ │ │ │ │ │ ├── is_domain_name.rb
│ │ │ │ │ │ │ │ ├── is_float.rb
│ │ │ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ │ │ ├── is_hash.rb
│ │ │ │ │ │ │ │ ├── is_integer.rb
│ │ │ │ │ │ │ │ ├── is_ip_address.rb
│ │ │ │ │ │ │ │ ├── is_mac_address.rb
│ │ │ │ │ │ │ │ ├── is_numeric.rb
│ │ │ │ │ │ │ │ ├── is_string.rb
│ │ │ │ │ │ │ │ ├── join.rb
│ │ │ │ │ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ │ │ │ │ ├── keys.rb
│ │ │ │ │ │ │ │ ├── loadyaml.rb
│ │ │ │ │ │ │ │ ├── lstrip.rb
│ │ │ │ │ │ │ │ ├── max.rb
│ │ │ │ │ │ │ │ ├── member.rb
│ │ │ │ │ │ │ │ ├── merge.rb
│ │ │ │ │ │ │ │ ├── min.rb
│ │ │ │ │ │ │ │ ├── num2bool.rb
│ │ │ │ │ │ │ │ ├── parsejson.rb
│ │ │ │ │ │ │ │ ├── parseyaml.rb
│ │ │ │ │ │ │ │ ├── pick.rb
│ │ │ │ │ │ │ │ ├── prefix.rb
│ │ │ │ │ │ │ │ ├── range.rb
│ │ │ │ │ │ │ │ ├── reject.rb
│ │ │ │ │ │ │ │ ├── reverse.rb
│ │ │ │ │ │ │ │ ├── rstrip.rb
│ │ │ │ │ │ │ │ ├── shuffle.rb
│ │ │ │ │ │ │ │ ├── size.rb
│ │ │ │ │ │ │ │ ├── sort.rb
│ │ │ │ │ │ │ │ ├── squeeze.rb
│ │ │ │ │ │ │ │ ├── str2bool.rb
│ │ │ │ │ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ │ │ │ │ ├── strftime.rb
│ │ │ │ │ │ │ │ ├── strip.rb
│ │ │ │ │ │ │ │ ├── suffix.rb
│ │ │ │ │ │ │ │ ├── swapcase.rb
│ │ │ │ │ │ │ │ ├── time.rb
│ │ │ │ │ │ │ │ ├── to_bytes.rb
│ │ │ │ │ │ │ │ ├── type.rb
│ │ │ │ │ │ │ │ ├── unique.rb
│ │ │ │ │ │ │ │ ├── upcase.rb
│ │ │ │ │ │ │ │ ├── uriescape.rb
│ │ │ │ │ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ │ │ │ │ ├── validate_array.rb
│ │ │ │ │ │ │ │ ├── validate_augeas.rb
│ │ │ │ │ │ │ │ ├── validate_bool.rb
│ │ │ │ │ │ │ │ ├── validate_cmd.rb
│ │ │ │ │ │ │ │ ├── validate_hash.rb
│ │ │ │ │ │ │ │ ├── validate_re.rb
│ │ │ │ │ │ │ │ ├── validate_slength.rb
│ │ │ │ │ │ │ │ ├── validate_string.rb
│ │ │ │ │ │ │ │ ├── values.rb
│ │ │ │ │ │ │ │ ├── values_at.rb
│ │ │ │ │ │ │ │ └── zip.rb
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── file_line
│ │ │ │ │ │ │ │ └── ruby.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ ├── anchor.rb
│ │ │ │ │ │ │ └── file_line.rb
│ │ │ │ │ ├── manifests
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ └── stages.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ └── anchor_spec.rb
│ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ └── manifests
│ │ │ │ │ │ │ │ └── site.pp
│ │ │ │ │ │ ├── functions
│ │ │ │ │ │ │ ├── defined_with_params_spec.rb
│ │ │ │ │ │ │ ├── ensure_packages_spec.rb
│ │ │ │ │ │ │ ├── ensure_resource_spec.rb
│ │ │ │ │ │ │ └── getparam_spec.rb
│ │ │ │ │ │ ├── monkey_patches
│ │ │ │ │ │ │ ├── alias_should_to_must.rb
│ │ │ │ │ │ │ └── publicize_methods.rb
│ │ │ │ │ │ ├── spec.opts
│ │ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ │ ├── unit
│ │ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ │ ├── pe_required_facts_spec.rb
│ │ │ │ │ │ │ │ ├── pe_version_spec.rb
│ │ │ │ │ │ │ │ ├── root_home_spec.rb
│ │ │ │ │ │ │ │ └── util
│ │ │ │ │ │ │ │ │ └── puppet_settings_spec.rb
│ │ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ │ ├── abs_spec.rb
│ │ │ │ │ │ │ │ │ ├── any2array_spec.rb
│ │ │ │ │ │ │ │ │ ├── bool2num_spec.rb
│ │ │ │ │ │ │ │ │ ├── capitalize_spec.rb
│ │ │ │ │ │ │ │ │ ├── chomp_spec.rb
│ │ │ │ │ │ │ │ │ ├── chop_spec.rb
│ │ │ │ │ │ │ │ │ ├── concat_spec.rb
│ │ │ │ │ │ │ │ │ ├── count_spec.rb
│ │ │ │ │ │ │ │ │ ├── delete_at_spec.rb
│ │ │ │ │ │ │ │ │ ├── delete_spec.rb
│ │ │ │ │ │ │ │ │ ├── dirname_spec.rb
│ │ │ │ │ │ │ │ │ ├── downcase_spec.rb
│ │ │ │ │ │ │ │ │ ├── empty_spec.rb
│ │ │ │ │ │ │ │ │ ├── flatten_spec.rb
│ │ │ │ │ │ │ │ │ ├── floor_spec.rb
│ │ │ │ │ │ │ │ │ ├── fqdn_rotate_spec.rb
│ │ │ │ │ │ │ │ │ ├── get_module_path_spec.rb
│ │ │ │ │ │ │ │ │ ├── getvar_spec.rb
│ │ │ │ │ │ │ │ │ ├── grep_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_interface_with_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_ip_address_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_ip_network_spec.rb
│ │ │ │ │ │ │ │ │ ├── has_key_spec.rb
│ │ │ │ │ │ │ │ │ ├── hash_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_array_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_domain_name_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_float_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ │ │ │ ├── is_hash_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_integer_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_ip_address_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_mac_address_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_numeric_spec.rb
│ │ │ │ │ │ │ │ │ ├── is_string_spec.rb
│ │ │ │ │ │ │ │ │ ├── join_keys_to_values_spec.rb
│ │ │ │ │ │ │ │ │ ├── join_spec.rb
│ │ │ │ │ │ │ │ │ ├── keys_spec.rb
│ │ │ │ │ │ │ │ │ ├── lstrip_spec.rb
│ │ │ │ │ │ │ │ │ ├── max_spec.rb
│ │ │ │ │ │ │ │ │ ├── member_spec.rb
│ │ │ │ │ │ │ │ │ ├── merge_spec.rb
│ │ │ │ │ │ │ │ │ ├── min_spec.rb
│ │ │ │ │ │ │ │ │ ├── num2bool_spec.rb
│ │ │ │ │ │ │ │ │ ├── parsejson_spec.rb
│ │ │ │ │ │ │ │ │ ├── parseyaml_spec.rb
│ │ │ │ │ │ │ │ │ ├── pick_spec.rb
│ │ │ │ │ │ │ │ │ ├── prefix_spec.rb
│ │ │ │ │ │ │ │ │ ├── range_spec.rb
│ │ │ │ │ │ │ │ │ ├── reject_spec.rb
│ │ │ │ │ │ │ │ │ ├── reverse_spec.rb
│ │ │ │ │ │ │ │ │ ├── rstrip_spec.rb
│ │ │ │ │ │ │ │ │ ├── shuffle_spec.rb
│ │ │ │ │ │ │ │ │ ├── size_spec.rb
│ │ │ │ │ │ │ │ │ ├── sort_spec.rb
│ │ │ │ │ │ │ │ │ ├── squeeze_spec.rb
│ │ │ │ │ │ │ │ │ ├── str2bool_spec.rb
│ │ │ │ │ │ │ │ │ ├── str2saltedsha512_spec.rb
│ │ │ │ │ │ │ │ │ ├── strftime_spec.rb
│ │ │ │ │ │ │ │ │ ├── strip_spec.rb
│ │ │ │ │ │ │ │ │ ├── suffix_spec.rb
│ │ │ │ │ │ │ │ │ ├── swapcase_spec.rb
│ │ │ │ │ │ │ │ │ ├── time_spec.rb
│ │ │ │ │ │ │ │ │ ├── to_bytes_spec.rb
│ │ │ │ │ │ │ │ │ ├── type_spec.rb
│ │ │ │ │ │ │ │ │ ├── unique_spec.rb
│ │ │ │ │ │ │ │ │ ├── upcase_spec.rb
│ │ │ │ │ │ │ │ │ ├── uriescape_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_absolute_path_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_array_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_augeas_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_bool_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_cmd_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_hash_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_re_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_slength_spec.rb
│ │ │ │ │ │ │ │ │ ├── validate_string_spec.rb
│ │ │ │ │ │ │ │ │ ├── values_at_spec.rb
│ │ │ │ │ │ │ │ │ ├── values_spec.rb
│ │ │ │ │ │ │ │ │ └── zip_spec.rb
│ │ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ │ └── file_line
│ │ │ │ │ │ │ │ │ └── ruby_spec.rb
│ │ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ │ ├── anchor_spec.rb
│ │ │ │ │ │ │ │ └── file_line_spec.rb
│ │ │ │ │ │ └── watchr.rb
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── file_line.pp
│ │ │ │ │ │ ├── has_interface_with.pp
│ │ │ │ │ │ ├── has_ip_address.pp
│ │ │ │ │ │ ├── has_ip_network.pp
│ │ │ │ │ │ └── init.pp
│ │ │ │ │ └── wget
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── manifests
│ │ │ │ │ ├── authfetch.pp
│ │ │ │ │ ├── fetch.pp
│ │ │ │ │ └── init.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ └── spec
│ │ │ │ │ ├── classes
│ │ │ │ │ └── init_spec.rb
│ │ │ │ │ ├── defines
│ │ │ │ │ ├── authfetch_spec.rb
│ │ │ │ │ └── fetch_spec.rb
│ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ ├── spec_helper_system.rb
│ │ │ │ │ └── system
│ │ │ │ │ └── wget_system_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── logback.xml.erb
│ │ │ ├── sonar.properties.erb
│ │ │ └── sonar.sh.erb
│ ├── ssh
│ │ ├── .bundle
│ │ │ └── config
│ │ ├── .fixtures.yml
│ │ ├── .gemfile
│ │ ├── .gemfile.lock
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── files
│ │ │ └── sshd_config
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ └── ipaddresses.rb
│ │ ├── manifests
│ │ │ ├── client.pp
│ │ │ ├── client
│ │ │ │ ├── config.pp
│ │ │ │ └── install.pp
│ │ │ ├── hostkeys.pp
│ │ │ ├── init.pp
│ │ │ ├── knownhosts.pp
│ │ │ ├── params.pp
│ │ │ ├── server.pp
│ │ │ ├── server
│ │ │ │ ├── config.pp
│ │ │ │ ├── host_key.pp
│ │ │ │ ├── install.pp
│ │ │ │ └── service.pp
│ │ │ └── site.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── client_spec.rb
│ │ │ │ └── server_spec.rb
│ │ │ ├── spec.opts
│ │ │ └── spec_helper.rb
│ │ ├── templates
│ │ │ ├── ssh_config.erb
│ │ │ └── sshd_config.erb
│ │ └── tests
│ │ │ ├── init.pp
│ │ │ └── server.pp
│ ├── ssh_keygen
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ └── init.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── defines
│ │ │ └── init_spec.rb
│ │ │ └── spec_helper.rb
│ ├── statsd
│ │ ├── CHANGELOG
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── files
│ │ │ ├── statsd-init
│ │ │ ├── statsd-init-rhel
│ │ │ └── statsd-wrapper
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── statsd_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── modules
│ │ │ │ │ ├── apt
│ │ │ │ │ ├── .bundle
│ │ │ │ │ │ └── config
│ │ │ │ │ ├── .fixtures.yml
│ │ │ │ │ ├── .forge-release
│ │ │ │ │ │ ├── pom.xml
│ │ │ │ │ │ ├── publish
│ │ │ │ │ │ ├── settings.xml
│ │ │ │ │ │ └── validate
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── CHANGELOG
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── Gemfile.lock
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── manifests
│ │ │ │ │ │ ├── backports.pp
│ │ │ │ │ │ ├── builddep.pp
│ │ │ │ │ │ ├── conf.pp
│ │ │ │ │ │ ├── debian
│ │ │ │ │ │ │ ├── testing.pp
│ │ │ │ │ │ │ └── unstable.pp
│ │ │ │ │ │ ├── force.pp
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ ├── key.pp
│ │ │ │ │ │ ├── params.pp
│ │ │ │ │ │ ├── pin.pp
│ │ │ │ │ │ ├── ppa.pp
│ │ │ │ │ │ ├── release.pp
│ │ │ │ │ │ ├── source.pp
│ │ │ │ │ │ └── update.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ ├── apt_spec.rb
│ │ │ │ │ │ │ ├── backports_spec.rb
│ │ │ │ │ │ │ ├── debian_testing_spec.rb
│ │ │ │ │ │ │ ├── debian_unstable_spec.rb
│ │ │ │ │ │ │ ├── params_spec.rb
│ │ │ │ │ │ │ └── release_spec.rb
│ │ │ │ │ │ ├── defines
│ │ │ │ │ │ │ ├── builddep_spec.rb
│ │ │ │ │ │ │ ├── conf_spec.rb
│ │ │ │ │ │ │ ├── force_spec.rb
│ │ │ │ │ │ │ ├── key_spec.rb
│ │ │ │ │ │ │ ├── pin_spec.rb
│ │ │ │ │ │ │ ├── ppa_spec.rb
│ │ │ │ │ │ │ └── source_spec.rb
│ │ │ │ │ │ └── spec_helper.rb
│ │ │ │ │ ├── templates
│ │ │ │ │ │ ├── pin.pref.erb
│ │ │ │ │ │ └── source.list.erb
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── builddep.pp
│ │ │ │ │ │ ├── debian
│ │ │ │ │ │ ├── testing.pp
│ │ │ │ │ │ └── unstable.pp
│ │ │ │ │ │ ├── force.pp
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ ├── key.pp
│ │ │ │ │ │ ├── params.pp
│ │ │ │ │ │ ├── pin.pp
│ │ │ │ │ │ ├── ppa.pp
│ │ │ │ │ │ ├── release.pp
│ │ │ │ │ │ └── source.pp
│ │ │ │ │ ├── nodejs
│ │ │ │ │ ├── CHANGELOG
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── lib
│ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ └── provider
│ │ │ │ │ │ │ └── package
│ │ │ │ │ │ │ └── npm.rb
│ │ │ │ │ ├── manifests
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ ├── npm.pp
│ │ │ │ │ │ └── params.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ │ ├── classes
│ │ │ │ │ │ │ └── nodejs_spec.rb
│ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ └── unit
│ │ │ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ │ └── provider
│ │ │ │ │ │ │ │ └── pakages
│ │ │ │ │ │ │ │ └── npm
│ │ │ │ │ │ │ │ └── npm_global
│ │ │ │ │ │ ├── puppetlabs_spec
│ │ │ │ │ │ │ ├── files.rb
│ │ │ │ │ │ │ ├── fixtures.rb
│ │ │ │ │ │ │ └── matchers.rb
│ │ │ │ │ │ ├── puppetlabs_spec_helper.rb
│ │ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ │ └── unit
│ │ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ └── provider
│ │ │ │ │ │ │ └── pakages
│ │ │ │ │ │ │ └── npm_spec.rb
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── init.pp
│ │ │ │ │ │ └── npm.pp
│ │ │ │ │ └── stdlib
│ │ │ │ │ ├── CHANGELOG
│ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ ├── Gemfile
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Modulefile
│ │ │ │ │ ├── README.markdown
│ │ │ │ │ ├── README_DEVELOPER.markdown
│ │ │ │ │ ├── README_SPECS.markdown
│ │ │ │ │ ├── RELEASE_PROCESS.markdown
│ │ │ │ │ ├── Rakefile
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── facter
│ │ │ │ │ │ ├── facter_dot_d.rb
│ │ │ │ │ │ ├── pe_version.rb
│ │ │ │ │ │ ├── puppet_vardir.rb
│ │ │ │ │ │ ├── root_home.rb
│ │ │ │ │ │ └── util
│ │ │ │ │ │ │ └── puppet_settings.rb
│ │ │ │ │ └── puppet
│ │ │ │ │ │ ├── parser
│ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ ├── abs.rb
│ │ │ │ │ │ │ ├── any2array.rb
│ │ │ │ │ │ │ ├── bool2num.rb
│ │ │ │ │ │ │ ├── capitalize.rb
│ │ │ │ │ │ │ ├── chomp.rb
│ │ │ │ │ │ │ ├── chop.rb
│ │ │ │ │ │ │ ├── concat.rb
│ │ │ │ │ │ │ ├── count.rb
│ │ │ │ │ │ │ ├── defined_with_params.rb
│ │ │ │ │ │ │ ├── delete.rb
│ │ │ │ │ │ │ ├── delete_at.rb
│ │ │ │ │ │ │ ├── dirname.rb
│ │ │ │ │ │ │ ├── downcase.rb
│ │ │ │ │ │ │ ├── empty.rb
│ │ │ │ │ │ │ ├── ensure_packages.rb
│ │ │ │ │ │ │ ├── ensure_resource.rb
│ │ │ │ │ │ │ ├── flatten.rb
│ │ │ │ │ │ │ ├── floor.rb
│ │ │ │ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ │ │ │ ├── get_module_path.rb
│ │ │ │ │ │ │ ├── getparam.rb
│ │ │ │ │ │ │ ├── getvar.rb
│ │ │ │ │ │ │ ├── grep.rb
│ │ │ │ │ │ │ ├── has_interface_with.rb
│ │ │ │ │ │ │ ├── has_ip_address.rb
│ │ │ │ │ │ │ ├── has_ip_network.rb
│ │ │ │ │ │ │ ├── has_key.rb
│ │ │ │ │ │ │ ├── hash.rb
│ │ │ │ │ │ │ ├── is_array.rb
│ │ │ │ │ │ │ ├── is_domain_name.rb
│ │ │ │ │ │ │ ├── is_float.rb
│ │ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ │ ├── is_hash.rb
│ │ │ │ │ │ │ ├── is_integer.rb
│ │ │ │ │ │ │ ├── is_ip_address.rb
│ │ │ │ │ │ │ ├── is_mac_address.rb
│ │ │ │ │ │ │ ├── is_numeric.rb
│ │ │ │ │ │ │ ├── is_string.rb
│ │ │ │ │ │ │ ├── join.rb
│ │ │ │ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ │ │ │ ├── keys.rb
│ │ │ │ │ │ │ ├── loadyaml.rb
│ │ │ │ │ │ │ ├── lstrip.rb
│ │ │ │ │ │ │ ├── max.rb
│ │ │ │ │ │ │ ├── member.rb
│ │ │ │ │ │ │ ├── merge.rb
│ │ │ │ │ │ │ ├── min.rb
│ │ │ │ │ │ │ ├── num2bool.rb
│ │ │ │ │ │ │ ├── parsejson.rb
│ │ │ │ │ │ │ ├── parseyaml.rb
│ │ │ │ │ │ │ ├── pick.rb
│ │ │ │ │ │ │ ├── prefix.rb
│ │ │ │ │ │ │ ├── range.rb
│ │ │ │ │ │ │ ├── reject.rb
│ │ │ │ │ │ │ ├── reverse.rb
│ │ │ │ │ │ │ ├── rstrip.rb
│ │ │ │ │ │ │ ├── shuffle.rb
│ │ │ │ │ │ │ ├── size.rb
│ │ │ │ │ │ │ ├── sort.rb
│ │ │ │ │ │ │ ├── squeeze.rb
│ │ │ │ │ │ │ ├── str2bool.rb
│ │ │ │ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ │ │ │ ├── strftime.rb
│ │ │ │ │ │ │ ├── strip.rb
│ │ │ │ │ │ │ ├── suffix.rb
│ │ │ │ │ │ │ ├── swapcase.rb
│ │ │ │ │ │ │ ├── time.rb
│ │ │ │ │ │ │ ├── to_bytes.rb
│ │ │ │ │ │ │ ├── type.rb
│ │ │ │ │ │ │ ├── unique.rb
│ │ │ │ │ │ │ ├── upcase.rb
│ │ │ │ │ │ │ ├── uriescape.rb
│ │ │ │ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ │ │ │ ├── validate_array.rb
│ │ │ │ │ │ │ ├── validate_augeas.rb
│ │ │ │ │ │ │ ├── validate_bool.rb
│ │ │ │ │ │ │ ├── validate_cmd.rb
│ │ │ │ │ │ │ ├── validate_hash.rb
│ │ │ │ │ │ │ ├── validate_re.rb
│ │ │ │ │ │ │ ├── validate_slength.rb
│ │ │ │ │ │ │ ├── validate_string.rb
│ │ │ │ │ │ │ ├── values.rb
│ │ │ │ │ │ │ ├── values_at.rb
│ │ │ │ │ │ │ └── zip.rb
│ │ │ │ │ │ ├── provider
│ │ │ │ │ │ └── file_line
│ │ │ │ │ │ │ └── ruby.rb
│ │ │ │ │ │ └── type
│ │ │ │ │ │ ├── anchor.rb
│ │ │ │ │ │ └── file_line.rb
│ │ │ │ │ ├── manifests
│ │ │ │ │ ├── init.pp
│ │ │ │ │ └── stages.pp
│ │ │ │ │ ├── metadata.json
│ │ │ │ │ ├── spec
│ │ │ │ │ ├── classes
│ │ │ │ │ │ └── anchor_spec.rb
│ │ │ │ │ ├── fixtures
│ │ │ │ │ │ └── manifests
│ │ │ │ │ │ │ └── site.pp
│ │ │ │ │ ├── functions
│ │ │ │ │ │ ├── defined_with_params_spec.rb
│ │ │ │ │ │ ├── ensure_packages_spec.rb
│ │ │ │ │ │ ├── ensure_resource_spec.rb
│ │ │ │ │ │ └── getparam_spec.rb
│ │ │ │ │ ├── monkey_patches
│ │ │ │ │ │ ├── alias_should_to_must.rb
│ │ │ │ │ │ └── publicize_methods.rb
│ │ │ │ │ ├── spec.opts
│ │ │ │ │ ├── spec_helper.rb
│ │ │ │ │ ├── unit
│ │ │ │ │ │ ├── facter
│ │ │ │ │ │ │ ├── pe_required_facts_spec.rb
│ │ │ │ │ │ │ ├── pe_version_spec.rb
│ │ │ │ │ │ │ ├── root_home_spec.rb
│ │ │ │ │ │ │ └── util
│ │ │ │ │ │ │ │ └── puppet_settings_spec.rb
│ │ │ │ │ │ └── puppet
│ │ │ │ │ │ │ ├── parser
│ │ │ │ │ │ │ └── functions
│ │ │ │ │ │ │ │ ├── abs_spec.rb
│ │ │ │ │ │ │ │ ├── any2array_spec.rb
│ │ │ │ │ │ │ │ ├── bool2num_spec.rb
│ │ │ │ │ │ │ │ ├── capitalize_spec.rb
│ │ │ │ │ │ │ │ ├── chomp_spec.rb
│ │ │ │ │ │ │ │ ├── chop_spec.rb
│ │ │ │ │ │ │ │ ├── concat_spec.rb
│ │ │ │ │ │ │ │ ├── count_spec.rb
│ │ │ │ │ │ │ │ ├── delete_at_spec.rb
│ │ │ │ │ │ │ │ ├── delete_spec.rb
│ │ │ │ │ │ │ │ ├── dirname_spec.rb
│ │ │ │ │ │ │ │ ├── downcase_spec.rb
│ │ │ │ │ │ │ │ ├── empty_spec.rb
│ │ │ │ │ │ │ │ ├── flatten_spec.rb
│ │ │ │ │ │ │ │ ├── floor_spec.rb
│ │ │ │ │ │ │ │ ├── fqdn_rotate_spec.rb
│ │ │ │ │ │ │ │ ├── get_module_path_spec.rb
│ │ │ │ │ │ │ │ ├── getvar_spec.rb
│ │ │ │ │ │ │ │ ├── grep_spec.rb
│ │ │ │ │ │ │ │ ├── has_interface_with_spec.rb
│ │ │ │ │ │ │ │ ├── has_ip_address_spec.rb
│ │ │ │ │ │ │ │ ├── has_ip_network_spec.rb
│ │ │ │ │ │ │ │ ├── has_key_spec.rb
│ │ │ │ │ │ │ │ ├── hash_spec.rb
│ │ │ │ │ │ │ │ ├── is_array_spec.rb
│ │ │ │ │ │ │ │ ├── is_domain_name_spec.rb
│ │ │ │ │ │ │ │ ├── is_float_spec.rb
│ │ │ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ │ │ ├── is_hash_spec.rb
│ │ │ │ │ │ │ │ ├── is_integer_spec.rb
│ │ │ │ │ │ │ │ ├── is_ip_address_spec.rb
│ │ │ │ │ │ │ │ ├── is_mac_address_spec.rb
│ │ │ │ │ │ │ │ ├── is_numeric_spec.rb
│ │ │ │ │ │ │ │ ├── is_string_spec.rb
│ │ │ │ │ │ │ │ ├── join_keys_to_values_spec.rb
│ │ │ │ │ │ │ │ ├── join_spec.rb
│ │ │ │ │ │ │ │ ├── keys_spec.rb
│ │ │ │ │ │ │ │ ├── lstrip_spec.rb
│ │ │ │ │ │ │ │ ├── max_spec.rb
│ │ │ │ │ │ │ │ ├── member_spec.rb
│ │ │ │ │ │ │ │ ├── merge_spec.rb
│ │ │ │ │ │ │ │ ├── min_spec.rb
│ │ │ │ │ │ │ │ ├── num2bool_spec.rb
│ │ │ │ │ │ │ │ ├── parsejson_spec.rb
│ │ │ │ │ │ │ │ ├── parseyaml_spec.rb
│ │ │ │ │ │ │ │ ├── pick_spec.rb
│ │ │ │ │ │ │ │ ├── prefix_spec.rb
│ │ │ │ │ │ │ │ ├── range_spec.rb
│ │ │ │ │ │ │ │ ├── reject_spec.rb
│ │ │ │ │ │ │ │ ├── reverse_spec.rb
│ │ │ │ │ │ │ │ ├── rstrip_spec.rb
│ │ │ │ │ │ │ │ ├── shuffle_spec.rb
│ │ │ │ │ │ │ │ ├── size_spec.rb
│ │ │ │ │ │ │ │ ├── sort_spec.rb
│ │ │ │ │ │ │ │ ├── squeeze_spec.rb
│ │ │ │ │ │ │ │ ├── str2bool_spec.rb
│ │ │ │ │ │ │ │ ├── str2saltedsha512_spec.rb
│ │ │ │ │ │ │ │ ├── strftime_spec.rb
│ │ │ │ │ │ │ │ ├── strip_spec.rb
│ │ │ │ │ │ │ │ ├── suffix_spec.rb
│ │ │ │ │ │ │ │ ├── swapcase_spec.rb
│ │ │ │ │ │ │ │ ├── time_spec.rb
│ │ │ │ │ │ │ │ ├── to_bytes_spec.rb
│ │ │ │ │ │ │ │ ├── type_spec.rb
│ │ │ │ │ │ │ │ ├── unique_spec.rb
│ │ │ │ │ │ │ │ ├── upcase_spec.rb
│ │ │ │ │ │ │ │ ├── uriescape_spec.rb
│ │ │ │ │ │ │ │ ├── validate_absolute_path_spec.rb
│ │ │ │ │ │ │ │ ├── validate_array_spec.rb
│ │ │ │ │ │ │ │ ├── validate_augeas_spec.rb
│ │ │ │ │ │ │ │ ├── validate_bool_spec.rb
│ │ │ │ │ │ │ │ ├── validate_cmd_spec.rb
│ │ │ │ │ │ │ │ ├── validate_hash_spec.rb
│ │ │ │ │ │ │ │ ├── validate_re_spec.rb
│ │ │ │ │ │ │ │ ├── validate_slength_spec.rb
│ │ │ │ │ │ │ │ ├── validate_string_spec.rb
│ │ │ │ │ │ │ │ ├── values_at_spec.rb
│ │ │ │ │ │ │ │ ├── values_spec.rb
│ │ │ │ │ │ │ │ └── zip_spec.rb
│ │ │ │ │ │ │ ├── provider
│ │ │ │ │ │ │ └── file_line
│ │ │ │ │ │ │ │ └── ruby_spec.rb
│ │ │ │ │ │ │ └── type
│ │ │ │ │ │ │ ├── anchor_spec.rb
│ │ │ │ │ │ │ └── file_line_spec.rb
│ │ │ │ │ └── watchr.rb
│ │ │ │ │ └── tests
│ │ │ │ │ ├── file_line.pp
│ │ │ │ │ ├── has_interface_with.pp
│ │ │ │ │ ├── has_ip_address.pp
│ │ │ │ │ ├── has_ip_network.pp
│ │ │ │ │ └── init.pp
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── localConfig.js.erb
│ │ │ └── statsd-defaults.erb
│ ├── stdlib
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── README_DEVELOPER.markdown
│ │ ├── README_SPECS.markdown
│ │ ├── RELEASE_PROCESS.markdown
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── facter_dot_d.rb
│ │ │ │ ├── pe_version.rb
│ │ │ │ ├── puppet_vardir.rb
│ │ │ │ ├── root_home.rb
│ │ │ │ └── util
│ │ │ │ │ └── puppet_settings.rb
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── abs.rb
│ │ │ │ │ ├── any2array.rb
│ │ │ │ │ ├── base64.rb
│ │ │ │ │ ├── bool2num.rb
│ │ │ │ │ ├── bool2str.rb
│ │ │ │ │ ├── camelcase.rb
│ │ │ │ │ ├── capitalize.rb
│ │ │ │ │ ├── chomp.rb
│ │ │ │ │ ├── chop.rb
│ │ │ │ │ ├── concat.rb
│ │ │ │ │ ├── count.rb
│ │ │ │ │ ├── deep_merge.rb
│ │ │ │ │ ├── defined_with_params.rb
│ │ │ │ │ ├── delete.rb
│ │ │ │ │ ├── delete_at.rb
│ │ │ │ │ ├── delete_undef_values.rb
│ │ │ │ │ ├── delete_values.rb
│ │ │ │ │ ├── difference.rb
│ │ │ │ │ ├── dirname.rb
│ │ │ │ │ ├── downcase.rb
│ │ │ │ │ ├── empty.rb
│ │ │ │ │ ├── ensure_packages.rb
│ │ │ │ │ ├── ensure_resource.rb
│ │ │ │ │ ├── flatten.rb
│ │ │ │ │ ├── floor.rb
│ │ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ │ ├── get_module_path.rb
│ │ │ │ │ ├── getparam.rb
│ │ │ │ │ ├── getvar.rb
│ │ │ │ │ ├── grep.rb
│ │ │ │ │ ├── has_interface_with.rb
│ │ │ │ │ ├── has_ip_address.rb
│ │ │ │ │ ├── has_ip_network.rb
│ │ │ │ │ ├── has_key.rb
│ │ │ │ │ ├── hash.rb
│ │ │ │ │ ├── intersection.rb
│ │ │ │ │ ├── is_array.rb
│ │ │ │ │ ├── is_bool.rb
│ │ │ │ │ ├── is_domain_name.rb
│ │ │ │ │ ├── is_float.rb
│ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ ├── is_hash.rb
│ │ │ │ │ ├── is_integer.rb
│ │ │ │ │ ├── is_ip_address.rb
│ │ │ │ │ ├── is_mac_address.rb
│ │ │ │ │ ├── is_numeric.rb
│ │ │ │ │ ├── is_string.rb
│ │ │ │ │ ├── join.rb
│ │ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ │ ├── keys.rb
│ │ │ │ │ ├── loadyaml.rb
│ │ │ │ │ ├── lstrip.rb
│ │ │ │ │ ├── max.rb
│ │ │ │ │ ├── member.rb
│ │ │ │ │ ├── merge.rb
│ │ │ │ │ ├── min.rb
│ │ │ │ │ ├── num2bool.rb
│ │ │ │ │ ├── parsejson.rb
│ │ │ │ │ ├── parseyaml.rb
│ │ │ │ │ ├── pick.rb
│ │ │ │ │ ├── pick_default.rb
│ │ │ │ │ ├── prefix.rb
│ │ │ │ │ ├── private.rb
│ │ │ │ │ ├── range.rb
│ │ │ │ │ ├── reject.rb
│ │ │ │ │ ├── reverse.rb
│ │ │ │ │ ├── rstrip.rb
│ │ │ │ │ ├── shuffle.rb
│ │ │ │ │ ├── size.rb
│ │ │ │ │ ├── sort.rb
│ │ │ │ │ ├── squeeze.rb
│ │ │ │ │ ├── str2bool.rb
│ │ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ │ ├── strftime.rb
│ │ │ │ │ ├── strip.rb
│ │ │ │ │ ├── suffix.rb
│ │ │ │ │ ├── swapcase.rb
│ │ │ │ │ ├── time.rb
│ │ │ │ │ ├── to_bytes.rb
│ │ │ │ │ ├── type.rb
│ │ │ │ │ ├── union.rb
│ │ │ │ │ ├── unique.rb
│ │ │ │ │ ├── upcase.rb
│ │ │ │ │ ├── uriescape.rb
│ │ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ │ ├── validate_array.rb
│ │ │ │ │ ├── validate_augeas.rb
│ │ │ │ │ ├── validate_bool.rb
│ │ │ │ │ ├── validate_cmd.rb
│ │ │ │ │ ├── validate_hash.rb
│ │ │ │ │ ├── validate_ipv4_address.rb
│ │ │ │ │ ├── validate_ipv6_address.rb
│ │ │ │ │ ├── validate_re.rb
│ │ │ │ │ ├── validate_slength.rb
│ │ │ │ │ ├── validate_string.rb
│ │ │ │ │ ├── values.rb
│ │ │ │ │ ├── values_at.rb
│ │ │ │ │ └── zip.rb
│ │ │ │ ├── provider
│ │ │ │ └── file_line
│ │ │ │ │ └── ruby.rb
│ │ │ │ └── type
│ │ │ │ ├── anchor.rb
│ │ │ │ └── file_line.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── stages.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── abs_spec.rb
│ │ │ │ ├── any2array_spec.rb
│ │ │ │ ├── base64_spec.rb
│ │ │ │ ├── bool2num_spec.rb
│ │ │ │ ├── build_csv.rb
│ │ │ │ ├── capitalize_spec.rb
│ │ │ │ ├── chomp_spec.rb
│ │ │ │ ├── chop_spec.rb
│ │ │ │ ├── concat_spec.rb
│ │ │ │ ├── count_spec.rb
│ │ │ │ ├── deep_merge_spec.rb
│ │ │ │ ├── defined_with_params_spec.rb
│ │ │ │ ├── delete_at_spec.rb
│ │ │ │ ├── delete_spec.rb
│ │ │ │ ├── delete_undef_values_spec.rb
│ │ │ │ ├── delete_values_spec.rb
│ │ │ │ ├── difference_spec.rb
│ │ │ │ ├── dirname_spec.rb
│ │ │ │ ├── downcase_spec.rb
│ │ │ │ ├── empty_spec.rb
│ │ │ │ ├── ensure_packages_spec.rb
│ │ │ │ ├── ensure_resource_spec.rb
│ │ │ │ ├── flatten_spec.rb
│ │ │ │ ├── floor_spec.rb
│ │ │ │ ├── fqdn_rotate_spec.rb
│ │ │ │ ├── get_module_path_spec.rb
│ │ │ │ ├── getparam_spec.rb
│ │ │ │ ├── getvar_spec.rb
│ │ │ │ ├── grep_spec.rb
│ │ │ │ ├── has_interface_with_spec.rb
│ │ │ │ ├── has_ip_address_spec.rb
│ │ │ │ ├── has_ip_network_spec.rb
│ │ │ │ ├── has_key_spec.rb
│ │ │ │ ├── hash_spec.rb
│ │ │ │ ├── intersection_spec.rb
│ │ │ │ ├── is_array_spec.rb
│ │ │ │ ├── is_bool_spec.rb
│ │ │ │ ├── is_domain_name_spec.rb
│ │ │ │ ├── is_float_spec.rb
│ │ │ │ ├── is_function_available_spec.rb
│ │ │ │ ├── is_hash_spec.rb
│ │ │ │ ├── is_integer_spec.rb
│ │ │ │ ├── is_ip_address_spec.rb
│ │ │ │ ├── is_mac_address_spec.rb
│ │ │ │ ├── is_numeric_spec.rb
│ │ │ │ ├── is_string_spec.rb
│ │ │ │ ├── join_keys_to_values_spec.rb
│ │ │ │ ├── join_spec.rb
│ │ │ │ ├── keys_spec.rb
│ │ │ │ ├── loadyaml_spec.rb
│ │ │ │ ├── lstrip_spec.rb
│ │ │ │ ├── max_spec.rb
│ │ │ │ ├── member_spec.rb
│ │ │ │ ├── merge_spec.rb
│ │ │ │ ├── min_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-6-vcloud.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ ├── ubuntu-server-1404-x64.yml
│ │ │ │ │ ├── windows-2003-i386.yml
│ │ │ │ │ ├── windows-2003-x86_64.yml
│ │ │ │ │ ├── windows-2008-x86_64.yml
│ │ │ │ │ ├── windows-2008r2-x86_64.yml
│ │ │ │ │ ├── windows-2012-x86_64.yml
│ │ │ │ │ └── windows-2012r2-x86_64.yml
│ │ │ │ ├── num2bool_spec.rb
│ │ │ │ ├── parsejson_spec.rb
│ │ │ │ ├── parseyaml_spec.rb
│ │ │ │ ├── pick_default_spec.rb
│ │ │ │ ├── pick_spec.rb
│ │ │ │ ├── prefix_spec.rb
│ │ │ │ ├── range_spec.rb
│ │ │ │ ├── reject_spec.rb
│ │ │ │ ├── reverse_spec.rb
│ │ │ │ ├── rstrip_spec.rb
│ │ │ │ ├── shuffle_spec.rb
│ │ │ │ ├── size_spec.rb
│ │ │ │ ├── sort_spec.rb
│ │ │ │ ├── squeeze_spec.rb
│ │ │ │ ├── str2bool_spec.rb
│ │ │ │ ├── str2saltedsha512_spec.rb
│ │ │ │ ├── strftime_spec.rb
│ │ │ │ ├── strip_spec.rb
│ │ │ │ ├── suffix_spec.rb
│ │ │ │ ├── swapcase_spec.rb
│ │ │ │ ├── time_spec.rb
│ │ │ │ ├── to_bytes_spec.rb
│ │ │ │ ├── type_spec.rb
│ │ │ │ ├── union_spec.rb
│ │ │ │ ├── unique_spec.rb
│ │ │ │ ├── unsupported_spec.rb
│ │ │ │ ├── upcase_spec.rb
│ │ │ │ ├── uriescape_spec.rb
│ │ │ │ ├── validate_absolute_path_spec.rb
│ │ │ │ ├── validate_array_spec.rb
│ │ │ │ ├── validate_augeas_spec.rb
│ │ │ │ ├── validate_bool_spec.rb
│ │ │ │ ├── validate_cmd_spec.rb
│ │ │ │ ├── validate_hash_spec.rb
│ │ │ │ ├── validate_ipv4_address_spec.rb
│ │ │ │ ├── validate_ipv6_address_spec.rb
│ │ │ │ ├── validate_re_spec.rb
│ │ │ │ ├── validate_slength_spec.rb
│ │ │ │ ├── validate_string_spec.rb
│ │ │ │ ├── values_at_spec.rb
│ │ │ │ ├── values_spec.rb
│ │ │ │ └── zip_spec.rb
│ │ │ ├── classes
│ │ │ │ └── anchor_spec.rb
│ │ │ ├── functions
│ │ │ │ ├── abs_spec.rb
│ │ │ │ ├── any2array_spec.rb
│ │ │ │ ├── base64_spec.rb
│ │ │ │ ├── bool2num_spec.rb
│ │ │ │ ├── capitalize_spec.rb
│ │ │ │ ├── chomp_spec.rb
│ │ │ │ ├── chop_spec.rb
│ │ │ │ ├── concat_spec.rb
│ │ │ │ ├── count_spec.rb
│ │ │ │ ├── deep_merge_spec.rb
│ │ │ │ ├── defined_with_params_spec.rb
│ │ │ │ ├── delete_at_spec.rb
│ │ │ │ ├── delete_spec.rb
│ │ │ │ ├── delete_undef_values_spec.rb
│ │ │ │ ├── delete_values_spec.rb
│ │ │ │ ├── difference_spec.rb
│ │ │ │ ├── dirname_spec.rb
│ │ │ │ ├── downcase_spec.rb
│ │ │ │ ├── empty_spec.rb
│ │ │ │ ├── ensure_packages_spec.rb
│ │ │ │ ├── ensure_resource_spec.rb
│ │ │ │ ├── flatten_spec.rb
│ │ │ │ ├── floor_spec.rb
│ │ │ │ ├── fqdn_rotate_spec.rb
│ │ │ │ ├── get_module_path_spec.rb
│ │ │ │ ├── getparam_spec.rb
│ │ │ │ ├── getvar_spec.rb
│ │ │ │ ├── grep_spec.rb
│ │ │ │ ├── has_interface_with_spec.rb
│ │ │ │ ├── has_ip_address_spec.rb
│ │ │ │ ├── has_ip_network_spec.rb
│ │ │ │ ├── has_key_spec.rb
│ │ │ │ ├── hash_spec.rb
│ │ │ │ ├── intersection_spec.rb
│ │ │ │ ├── is_array_spec.rb
│ │ │ │ ├── is_bool_spec.rb
│ │ │ │ ├── is_domain_name_spec.rb
│ │ │ │ ├── is_float_spec.rb
│ │ │ │ ├── is_function_available.rb
│ │ │ │ ├── is_hash_spec.rb
│ │ │ │ ├── is_integer_spec.rb
│ │ │ │ ├── is_ip_address_spec.rb
│ │ │ │ ├── is_mac_address_spec.rb
│ │ │ │ ├── is_numeric_spec.rb
│ │ │ │ ├── is_string_spec.rb
│ │ │ │ ├── join_keys_to_values_spec.rb
│ │ │ │ ├── join_spec.rb
│ │ │ │ ├── keys_spec.rb
│ │ │ │ ├── loadyaml_spec.rb
│ │ │ │ ├── lstrip_spec.rb
│ │ │ │ ├── max_spec.rb
│ │ │ │ ├── member_spec.rb
│ │ │ │ ├── merge_spec.rb
│ │ │ │ ├── min_spec.rb
│ │ │ │ ├── num2bool_spec.rb
│ │ │ │ ├── parsejson_spec.rb
│ │ │ │ ├── parseyaml_spec.rb
│ │ │ │ ├── pick_default_spec.rb
│ │ │ │ ├── pick_spec.rb
│ │ │ │ ├── prefix_spec.rb
│ │ │ │ ├── private_spec.rb
│ │ │ │ ├── range_spec.rb
│ │ │ │ ├── reject_spec.rb
│ │ │ │ ├── reverse_spec.rb
│ │ │ │ ├── rstrip_spec.rb
│ │ │ │ ├── shuffle_spec.rb
│ │ │ │ ├── size_spec.rb
│ │ │ │ ├── sort_spec.rb
│ │ │ │ ├── squeeze_spec.rb
│ │ │ │ ├── str2bool_spec.rb
│ │ │ │ ├── str2saltedsha512_spec.rb
│ │ │ │ ├── strftime_spec.rb
│ │ │ │ ├── strip_spec.rb
│ │ │ │ ├── suffix_spec.rb
│ │ │ │ ├── swapcase_spec.rb
│ │ │ │ ├── time_spec.rb
│ │ │ │ ├── to_bytes_spec.rb
│ │ │ │ ├── type_spec.rb
│ │ │ │ ├── union_spec.rb
│ │ │ │ ├── unique_spec.rb
│ │ │ │ ├── upcase_spec.rb
│ │ │ │ ├── uriescape_spec.rb
│ │ │ │ ├── validate_absolute_path_spec.rb
│ │ │ │ ├── validate_array_spec.rb
│ │ │ │ ├── validate_augeas_spec.rb
│ │ │ │ ├── validate_bool_spec.rb
│ │ │ │ ├── validate_cmd_spec.rb
│ │ │ │ ├── validate_hash_spec.rb
│ │ │ │ ├── validate_ipv4_address_spec.rb
│ │ │ │ ├── validate_ipv6_address_spec.rb
│ │ │ │ ├── validate_re_spec.rb
│ │ │ │ ├── validate_slength_spec.rb
│ │ │ │ ├── validate_string_spec.rb
│ │ │ │ ├── values_at_spec.rb
│ │ │ │ ├── values_spec.rb
│ │ │ │ └── zip_spec.rb
│ │ │ ├── lib
│ │ │ │ └── puppet_spec
│ │ │ │ │ ├── compiler.rb
│ │ │ │ │ ├── database.rb
│ │ │ │ │ ├── files.rb
│ │ │ │ │ ├── fixtures.rb
│ │ │ │ │ ├── matchers.rb
│ │ │ │ │ ├── modules.rb
│ │ │ │ │ ├── pops.rb
│ │ │ │ │ ├── scope.rb
│ │ │ │ │ ├── settings.rb
│ │ │ │ │ └── verbose.rb
│ │ │ ├── monkey_patches
│ │ │ │ ├── alias_should_to_must.rb
│ │ │ │ └── publicize_methods.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── facter
│ │ │ │ ├── facter_dot_d_spec.rb
│ │ │ │ ├── pe_version_spec.rb
│ │ │ │ ├── root_home_spec.rb
│ │ │ │ └── util
│ │ │ │ │ └── puppet_settings_spec.rb
│ │ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── bool2str_spec.rb
│ │ │ │ │ └── camelcase_spec.rb
│ │ │ │ ├── provider
│ │ │ │ └── file_line
│ │ │ │ │ └── ruby_spec.rb
│ │ │ │ └── type
│ │ │ │ ├── anchor_spec.rb
│ │ │ │ └── file_line_spec.rb
│ │ └── tests
│ │ │ ├── file_line.pp
│ │ │ ├── has_interface_with.pp
│ │ │ ├── has_ip_address.pp
│ │ │ ├── has_ip_network.pp
│ │ │ └── init.pp
│ ├── svn
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ └── servers
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── config
│ │ │ │ ├── credentials.pp
│ │ │ │ ├── servers.pp
│ │ │ │ └── sslcert.pp
│ │ │ └── init.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── config_spec.rb
│ │ │ │ └── init_spec.rb
│ │ │ ├── defines
│ │ │ │ └── config
│ │ │ │ │ └── credentials_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── simpleauth.erb
│ │ │ └── sslserver.erb
│ ├── wget
│ │ ├── Gemfile
│ │ ├── Gemfile.lock
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── authfetch.pp
│ │ │ ├── fetch.pp
│ │ │ └── init.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── classes
│ │ │ └── init_spec.rb
│ │ │ ├── defines
│ │ │ ├── authfetch_spec.rb
│ │ │ └── fetch_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── system
│ │ │ └── wget_system_spec.rb
│ └── zypprepo
│ │ ├── Modulefile
│ │ ├── README
│ │ ├── _gitignore
│ │ ├── lib
│ │ └── puppet
│ │ │ └── type
│ │ │ └── zypprepo.rb
│ │ ├── manifests
│ │ └── init.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ ├── spec.opts
│ │ └── spec_helper.rb
│ │ └── tests
│ │ └── init.pp
└── site.pp
└── jenkins-slave
├── Dockerfile
├── Puppetfile
├── Puppetfile.lock
├── README.md
├── cmd.sh
├── common.yaml
├── modules
├── apt
│ ├── CHANGELOG.md
│ ├── Gemfile
│ ├── LICENSE
│ ├── Modulefile
│ ├── README.md
│ ├── Rakefile
│ ├── checksums.json
│ ├── lib
│ │ ├── puppet
│ │ │ ├── provider
│ │ │ │ └── apt_key
│ │ │ │ │ └── apt_key.rb
│ │ │ └── type
│ │ │ │ └── apt_key.rb
│ │ └── puppet_x
│ │ │ └── apt_key
│ │ │ └── patch_openuri.rb
│ ├── manifests
│ │ ├── backports.pp
│ │ ├── builddep.pp
│ │ ├── conf.pp
│ │ ├── debian
│ │ │ ├── testing.pp
│ │ │ └── unstable.pp
│ │ ├── force.pp
│ │ ├── hold.pp
│ │ ├── init.pp
│ │ ├── key.pp
│ │ ├── params.pp
│ │ ├── pin.pp
│ │ ├── ppa.pp
│ │ ├── release.pp
│ │ ├── source.pp
│ │ ├── unattended_upgrades.pp
│ │ └── update.pp
│ ├── metadata.json
│ ├── spec
│ │ ├── acceptance
│ │ │ ├── apt_builddep_spec.rb
│ │ │ ├── apt_key_provider_spec.rb
│ │ │ ├── apt_key_spec.rb
│ │ │ ├── apt_ppa_spec.rb
│ │ │ ├── apt_source_spec.rb
│ │ │ ├── apt_spec.rb
│ │ │ ├── backports_spec.rb
│ │ │ ├── class_spec.rb
│ │ │ ├── conf_spec.rb
│ │ │ ├── force_spec.rb
│ │ │ ├── nodesets
│ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ ├── debian-73-x64.yml
│ │ │ │ ├── default.yml
│ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── pin_spec.rb
│ │ │ ├── release_spec.rb
│ │ │ ├── unattended_upgrade_spec.rb
│ │ │ └── unsupported_spec.rb
│ │ ├── classes
│ │ │ ├── apt_spec.rb
│ │ │ ├── backports_spec.rb
│ │ │ ├── debian_testing_spec.rb
│ │ │ ├── debian_unstable_spec.rb
│ │ │ ├── init_spec.rb
│ │ │ ├── params_spec.rb
│ │ │ ├── release_spec.rb
│ │ │ └── unattended_upgrades_spec.rb
│ │ ├── defines
│ │ │ ├── builddep_spec.rb
│ │ │ ├── conf_spec.rb
│ │ │ ├── force_spec.rb
│ │ │ ├── hold_spec.rb
│ │ │ ├── key_spec.rb
│ │ │ ├── pin_spec.rb
│ │ │ ├── ppa_spec.rb
│ │ │ └── source_spec.rb
│ │ ├── spec_helper.rb
│ │ ├── spec_helper_acceptance.rb
│ │ └── unit
│ │ │ └── puppet
│ │ │ └── type
│ │ │ └── apt_key_spec.rb
│ ├── templates
│ │ ├── 10periodic.erb
│ │ ├── 50unattended-upgrades.erb
│ │ ├── pin.pref.erb
│ │ └── source.list.erb
│ └── tests
│ │ ├── builddep.pp
│ │ ├── debian
│ │ ├── testing.pp
│ │ └── unstable.pp
│ │ ├── force.pp
│ │ ├── init.pp
│ │ ├── key.pp
│ │ ├── params.pp
│ │ ├── pin.pp
│ │ ├── ppa.pp
│ │ ├── release.pp
│ │ ├── source.pp
│ │ └── unattended_upgrades.pp
├── java
│ ├── CHANGELOG
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── LICENSE
│ ├── Modulefile
│ ├── README.markdown
│ ├── Rakefile
│ ├── manifests
│ │ ├── config.pp
│ │ ├── init.pp
│ │ └── params.pp
│ ├── metadata.json
│ ├── spec
│ │ ├── classes
│ │ │ └── java_spec.rb
│ │ └── spec_helper.rb
│ └── tests
│ │ └── init.pp
├── jenkins
│ ├── .fixtures.yml
│ ├── .gitignore
│ ├── .rspec
│ ├── .travis.yml
│ ├── Blimpfile
│ ├── CHANGELOG.md
│ ├── Gemfile
│ ├── HACKING.md
│ ├── LICENSE
│ ├── Modulefile
│ ├── README.md
│ ├── Rakefile
│ ├── bootstrap.sh
│ ├── contrib
│ │ └── examples
│ │ │ └── plugin-configuration
│ │ │ ├── git.pp
│ │ │ └── templates
│ │ │ └── git.config.xml.erb
│ ├── features
│ │ ├── deb_support.feature
│ │ ├── step_definitions
│ │ │ └── deb_support_steps.rb
│ │ └── support
│ │ │ ├── boxes
│ │ │ └── deb
│ │ │ │ ├── Vagrantfile
│ │ │ │ ├── install-puppet-module.sh
│ │ │ │ ├── verify-jenkins-install
│ │ │ │ └── verify-plugin-install
│ │ │ ├── env.rb
│ │ │ └── vagrant.rb
│ ├── files
│ │ └── jenkins-slave
│ ├── lib
│ │ ├── facter
│ │ │ └── jenkins.rb
│ │ └── puppet
│ │ │ ├── features
│ │ │ └── jpm.rb
│ │ │ ├── jenkins.rb
│ │ │ ├── jenkins
│ │ │ ├── facts.rb
│ │ │ └── plugins.rb
│ │ │ └── provider
│ │ │ └── package
│ │ │ └── jpm.rb
│ ├── manifests
│ │ ├── cli.pp
│ │ ├── config.pp
│ │ ├── firewall.pp
│ │ ├── init.pp
│ │ ├── master.pp
│ │ ├── package.pp
│ │ ├── params.pp
│ │ ├── plugin.pp
│ │ ├── plugins.pp
│ │ ├── proxy.pp
│ │ ├── repo.pp
│ │ ├── repo
│ │ │ ├── debian.pp
│ │ │ ├── el.pp
│ │ │ └── suse.pp
│ │ ├── service.pp
│ │ ├── slave.pp
│ │ └── sysconfig.pp
│ ├── spec
│ │ ├── classes
│ │ │ ├── jenkins_cli_spec.rb
│ │ │ ├── jenkins_config_spec.rb
│ │ │ ├── jenkins_firewall_spec.rb
│ │ │ ├── jenkins_master_spec.rb
│ │ │ ├── jenkins_package_spec.rb
│ │ │ ├── jenkins_plugins_spec.rb
│ │ │ ├── jenkins_proxy_spec.rb
│ │ │ ├── jenkins_repo_debian_spec.rb
│ │ │ ├── jenkins_repo_el_spec.rb
│ │ │ ├── jenkins_repo_spec.rb
│ │ │ ├── jenkins_repo_suse_spec.rb
│ │ │ ├── jenkins_service_spec.rb
│ │ │ ├── jenkins_slave_spec.rb
│ │ │ └── jenkins_spec.rb
│ │ ├── defines
│ │ │ ├── jenkins_plugin_spec.rb
│ │ │ └── jenkins_sysconfig_spec.rb
│ │ ├── helpers
│ │ │ └── rspechelpers.rb
│ │ ├── spec_helper.rb
│ │ └── unit
│ │ │ ├── facter
│ │ │ └── plugins_spec.rb
│ │ │ ├── jenkins_plugins_spec.rb
│ │ │ ├── jenkins_provider_spec.rb
│ │ │ └── jenkins_spec.rb
│ ├── templates
│ │ ├── jenkins-slave-defaults.Debian
│ │ ├── jenkins-slave.erb
│ │ └── proxy.xml.erb
│ └── tests
│ │ ├── RedHatEnterpriseServer.pp
│ │ └── Ubuntu.pp
├── stdlib
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── Gemfile
│ ├── LICENSE
│ ├── README.markdown
│ ├── README_DEVELOPER.markdown
│ ├── README_SPECS.markdown
│ ├── RELEASE_PROCESS.markdown
│ ├── Rakefile
│ ├── checksums.json
│ ├── lib
│ │ ├── facter
│ │ │ ├── facter_dot_d.rb
│ │ │ ├── pe_version.rb
│ │ │ ├── puppet_vardir.rb
│ │ │ ├── root_home.rb
│ │ │ └── util
│ │ │ │ └── puppet_settings.rb
│ │ └── puppet
│ │ │ ├── parser
│ │ │ └── functions
│ │ │ │ ├── abs.rb
│ │ │ │ ├── any2array.rb
│ │ │ │ ├── base64.rb
│ │ │ │ ├── bool2num.rb
│ │ │ │ ├── bool2str.rb
│ │ │ │ ├── camelcase.rb
│ │ │ │ ├── capitalize.rb
│ │ │ │ ├── chomp.rb
│ │ │ │ ├── chop.rb
│ │ │ │ ├── concat.rb
│ │ │ │ ├── count.rb
│ │ │ │ ├── deep_merge.rb
│ │ │ │ ├── defined_with_params.rb
│ │ │ │ ├── delete.rb
│ │ │ │ ├── delete_at.rb
│ │ │ │ ├── delete_undef_values.rb
│ │ │ │ ├── delete_values.rb
│ │ │ │ ├── difference.rb
│ │ │ │ ├── dirname.rb
│ │ │ │ ├── downcase.rb
│ │ │ │ ├── empty.rb
│ │ │ │ ├── ensure_packages.rb
│ │ │ │ ├── ensure_resource.rb
│ │ │ │ ├── flatten.rb
│ │ │ │ ├── floor.rb
│ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ ├── get_module_path.rb
│ │ │ │ ├── getparam.rb
│ │ │ │ ├── getvar.rb
│ │ │ │ ├── grep.rb
│ │ │ │ ├── has_interface_with.rb
│ │ │ │ ├── has_ip_address.rb
│ │ │ │ ├── has_ip_network.rb
│ │ │ │ ├── has_key.rb
│ │ │ │ ├── hash.rb
│ │ │ │ ├── intersection.rb
│ │ │ │ ├── is_array.rb
│ │ │ │ ├── is_bool.rb
│ │ │ │ ├── is_domain_name.rb
│ │ │ │ ├── is_float.rb
│ │ │ │ ├── is_function_available.rb
│ │ │ │ ├── is_hash.rb
│ │ │ │ ├── is_integer.rb
│ │ │ │ ├── is_ip_address.rb
│ │ │ │ ├── is_mac_address.rb
│ │ │ │ ├── is_numeric.rb
│ │ │ │ ├── is_string.rb
│ │ │ │ ├── join.rb
│ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ ├── keys.rb
│ │ │ │ ├── loadyaml.rb
│ │ │ │ ├── lstrip.rb
│ │ │ │ ├── max.rb
│ │ │ │ ├── member.rb
│ │ │ │ ├── merge.rb
│ │ │ │ ├── min.rb
│ │ │ │ ├── num2bool.rb
│ │ │ │ ├── parsejson.rb
│ │ │ │ ├── parseyaml.rb
│ │ │ │ ├── pick.rb
│ │ │ │ ├── pick_default.rb
│ │ │ │ ├── prefix.rb
│ │ │ │ ├── range.rb
│ │ │ │ ├── reject.rb
│ │ │ │ ├── reverse.rb
│ │ │ │ ├── rstrip.rb
│ │ │ │ ├── shuffle.rb
│ │ │ │ ├── size.rb
│ │ │ │ ├── sort.rb
│ │ │ │ ├── squeeze.rb
│ │ │ │ ├── str2bool.rb
│ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ ├── strftime.rb
│ │ │ │ ├── strip.rb
│ │ │ │ ├── suffix.rb
│ │ │ │ ├── swapcase.rb
│ │ │ │ ├── time.rb
│ │ │ │ ├── to_bytes.rb
│ │ │ │ ├── type.rb
│ │ │ │ ├── union.rb
│ │ │ │ ├── unique.rb
│ │ │ │ ├── upcase.rb
│ │ │ │ ├── uriescape.rb
│ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ ├── validate_array.rb
│ │ │ │ ├── validate_augeas.rb
│ │ │ │ ├── validate_bool.rb
│ │ │ │ ├── validate_cmd.rb
│ │ │ │ ├── validate_hash.rb
│ │ │ │ ├── validate_ipv4_address.rb
│ │ │ │ ├── validate_ipv6_address.rb
│ │ │ │ ├── validate_re.rb
│ │ │ │ ├── validate_slength.rb
│ │ │ │ ├── validate_string.rb
│ │ │ │ ├── values.rb
│ │ │ │ ├── values_at.rb
│ │ │ │ └── zip.rb
│ │ │ ├── provider
│ │ │ └── file_line
│ │ │ │ └── ruby.rb
│ │ │ └── type
│ │ │ ├── anchor.rb
│ │ │ └── file_line.rb
│ ├── manifests
│ │ ├── init.pp
│ │ └── stages.pp
│ ├── metadata.json
│ ├── spec
│ │ ├── acceptance
│ │ │ ├── abs_spec.rb
│ │ │ ├── any2array_spec.rb
│ │ │ ├── base64_spec.rb
│ │ │ ├── bool2num_spec.rb
│ │ │ ├── build_csv.rb
│ │ │ ├── capitalize_spec.rb
│ │ │ ├── chomp_spec.rb
│ │ │ ├── chop_spec.rb
│ │ │ ├── concat_spec.rb
│ │ │ ├── count_spec.rb
│ │ │ ├── deep_merge_spec.rb
│ │ │ ├── defined_with_params_spec.rb
│ │ │ ├── delete_at_spec.rb
│ │ │ ├── delete_spec.rb
│ │ │ ├── delete_undef_values_spec.rb
│ │ │ ├── delete_values_spec.rb
│ │ │ ├── difference_spec.rb
│ │ │ ├── dirname_spec.rb
│ │ │ ├── downcase_spec.rb
│ │ │ ├── empty_spec.rb
│ │ │ ├── ensure_packages_spec.rb
│ │ │ ├── ensure_resource_spec.rb
│ │ │ ├── flatten_spec.rb
│ │ │ ├── floor_spec.rb
│ │ │ ├── fqdn_rotate_spec.rb
│ │ │ ├── get_module_path_spec.rb
│ │ │ ├── getparam_spec.rb
│ │ │ ├── getvar_spec.rb
│ │ │ ├── grep_spec.rb
│ │ │ ├── has_interface_with_spec.rb
│ │ │ ├── has_ip_address_spec.rb
│ │ │ ├── has_ip_network_spec.rb
│ │ │ ├── has_key_spec.rb
│ │ │ ├── hash_spec.rb
│ │ │ ├── intersection_spec.rb
│ │ │ ├── is_array_spec.rb
│ │ │ ├── is_bool_spec.rb
│ │ │ ├── is_domain_name_spec.rb
│ │ │ ├── is_float_spec.rb
│ │ │ ├── is_function_available_spec.rb
│ │ │ ├── is_hash_spec.rb
│ │ │ ├── is_integer_spec.rb
│ │ │ ├── is_ip_address_spec.rb
│ │ │ ├── is_mac_address_spec.rb
│ │ │ ├── is_numeric_spec.rb
│ │ │ ├── is_string_spec.rb
│ │ │ ├── join_keys_to_values_spec.rb
│ │ │ ├── join_spec.rb
│ │ │ ├── keys_spec.rb
│ │ │ ├── loadyaml_spec.rb
│ │ │ ├── lstrip_spec.rb
│ │ │ ├── max_spec.rb
│ │ │ ├── member_spec.rb
│ │ │ ├── merge_spec.rb
│ │ │ ├── min_spec.rb
│ │ │ ├── nodesets
│ │ │ │ ├── centos-6-vcloud.yml
│ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ ├── centos-64-x64.yml
│ │ │ │ ├── default.yml
│ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ ├── sles-11-x64.yml
│ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ ├── windows-2003-i386.yml
│ │ │ │ ├── windows-2003-x86_64.yml
│ │ │ │ ├── windows-2008-x86_64.yml
│ │ │ │ ├── windows-2008r2-x86_64.yml
│ │ │ │ ├── windows-2012-x86_64.yml
│ │ │ │ └── windows-2012r2-x86_64.yml
│ │ │ ├── num2bool_spec.rb
│ │ │ ├── parsejson_spec.rb
│ │ │ ├── parseyaml_spec.rb
│ │ │ ├── pick_default_spec.rb
│ │ │ ├── pick_spec.rb
│ │ │ ├── prefix_spec.rb
│ │ │ ├── range_spec.rb
│ │ │ ├── reject_spec.rb
│ │ │ ├── reverse_spec.rb
│ │ │ ├── rstrip_spec.rb
│ │ │ ├── shuffle_spec.rb
│ │ │ ├── size_spec.rb
│ │ │ ├── sort_spec.rb
│ │ │ ├── squeeze_spec.rb
│ │ │ ├── str2bool_spec.rb
│ │ │ ├── str2saltedsha512_spec.rb
│ │ │ ├── strftime_spec.rb
│ │ │ ├── strip_spec.rb
│ │ │ ├── suffix_spec.rb
│ │ │ ├── swapcase_spec.rb
│ │ │ ├── time_spec.rb
│ │ │ ├── to_bytes_spec.rb
│ │ │ ├── type_spec.rb
│ │ │ ├── union_spec.rb
│ │ │ ├── unique_spec.rb
│ │ │ ├── unsupported_spec.rb
│ │ │ ├── upcase_spec.rb
│ │ │ ├── uriescape_spec.rb
│ │ │ ├── validate_absolute_path_spec.rb
│ │ │ ├── validate_array_spec.rb
│ │ │ ├── validate_augeas_spec.rb
│ │ │ ├── validate_bool_spec.rb
│ │ │ ├── validate_cmd_spec.rb
│ │ │ ├── validate_hash_spec.rb
│ │ │ ├── validate_ipv4_address_spec.rb
│ │ │ ├── validate_ipv6_address_spec.rb
│ │ │ ├── validate_re_spec.rb
│ │ │ ├── validate_slength_spec.rb
│ │ │ ├── validate_string_spec.rb
│ │ │ ├── values_at_spec.rb
│ │ │ ├── values_spec.rb
│ │ │ └── zip_spec.rb
│ │ ├── classes
│ │ │ └── anchor_spec.rb
│ │ ├── fixtures
│ │ │ └── dscacheutil
│ │ │ │ └── root
│ │ ├── functions
│ │ │ ├── abs_spec.rb
│ │ │ ├── any2array_spec.rb
│ │ │ ├── base64_spec.rb
│ │ │ ├── bool2num_spec.rb
│ │ │ ├── capitalize_spec.rb
│ │ │ ├── chomp_spec.rb
│ │ │ ├── chop_spec.rb
│ │ │ ├── concat_spec.rb
│ │ │ ├── count_spec.rb
│ │ │ ├── deep_merge_spec.rb
│ │ │ ├── defined_with_params_spec.rb
│ │ │ ├── delete_at_spec.rb
│ │ │ ├── delete_spec.rb
│ │ │ ├── delete_undef_values_spec.rb
│ │ │ ├── delete_values_spec.rb
│ │ │ ├── difference_spec.rb
│ │ │ ├── dirname_spec.rb
│ │ │ ├── downcase_spec.rb
│ │ │ ├── empty_spec.rb
│ │ │ ├── ensure_packages_spec.rb
│ │ │ ├── ensure_resource_spec.rb
│ │ │ ├── flatten_spec.rb
│ │ │ ├── floor_spec.rb
│ │ │ ├── fqdn_rotate_spec.rb
│ │ │ ├── get_module_path_spec.rb
│ │ │ ├── getparam_spec.rb
│ │ │ ├── getvar_spec.rb
│ │ │ ├── grep_spec.rb
│ │ │ ├── has_interface_with_spec.rb
│ │ │ ├── has_ip_address_spec.rb
│ │ │ ├── has_ip_network_spec.rb
│ │ │ ├── has_key_spec.rb
│ │ │ ├── hash_spec.rb
│ │ │ ├── intersection_spec.rb
│ │ │ ├── is_array_spec.rb
│ │ │ ├── is_bool_spec.rb
│ │ │ ├── is_domain_name_spec.rb
│ │ │ ├── is_float_spec.rb
│ │ │ ├── is_function_available.rb
│ │ │ ├── is_hash_spec.rb
│ │ │ ├── is_integer_spec.rb
│ │ │ ├── is_ip_address_spec.rb
│ │ │ ├── is_mac_address_spec.rb
│ │ │ ├── is_numeric_spec.rb
│ │ │ ├── is_string_spec.rb
│ │ │ ├── join_keys_to_values_spec.rb
│ │ │ ├── join_spec.rb
│ │ │ ├── keys_spec.rb
│ │ │ ├── loadyaml_spec.rb
│ │ │ ├── lstrip_spec.rb
│ │ │ ├── max_spec.rb
│ │ │ ├── member_spec.rb
│ │ │ ├── merge_spec.rb
│ │ │ ├── min_spec.rb
│ │ │ ├── num2bool_spec.rb
│ │ │ ├── parsejson_spec.rb
│ │ │ ├── parseyaml_spec.rb
│ │ │ ├── pick_default_spec.rb
│ │ │ ├── pick_spec.rb
│ │ │ ├── prefix_spec.rb
│ │ │ ├── range_spec.rb
│ │ │ ├── reject_spec.rb
│ │ │ ├── reverse_spec.rb
│ │ │ ├── rstrip_spec.rb
│ │ │ ├── shuffle_spec.rb
│ │ │ ├── size_spec.rb
│ │ │ ├── sort_spec.rb
│ │ │ ├── squeeze_spec.rb
│ │ │ ├── str2bool_spec.rb
│ │ │ ├── str2saltedsha512_spec.rb
│ │ │ ├── strftime_spec.rb
│ │ │ ├── strip_spec.rb
│ │ │ ├── suffix_spec.rb
│ │ │ ├── swapcase_spec.rb
│ │ │ ├── time_spec.rb
│ │ │ ├── to_bytes_spec.rb
│ │ │ ├── type_spec.rb
│ │ │ ├── union_spec.rb
│ │ │ ├── unique_spec.rb
│ │ │ ├── upcase_spec.rb
│ │ │ ├── uriescape_spec.rb
│ │ │ ├── validate_absolute_path_spec.rb
│ │ │ ├── validate_array_spec.rb
│ │ │ ├── validate_augeas_spec.rb
│ │ │ ├── validate_bool_spec.rb
│ │ │ ├── validate_cmd_spec.rb
│ │ │ ├── validate_hash_spec.rb
│ │ │ ├── validate_ipv4_address_spec.rb
│ │ │ ├── validate_ipv6_address_spec.rb
│ │ │ ├── validate_re_spec.rb
│ │ │ ├── validate_slength_spec.rb
│ │ │ ├── validate_string_spec.rb
│ │ │ ├── values_at_spec.rb
│ │ │ ├── values_spec.rb
│ │ │ └── zip_spec.rb
│ │ ├── lib
│ │ │ └── puppet_spec
│ │ │ │ ├── compiler.rb
│ │ │ │ ├── database.rb
│ │ │ │ ├── files.rb
│ │ │ │ ├── fixtures.rb
│ │ │ │ ├── matchers.rb
│ │ │ │ ├── modules.rb
│ │ │ │ ├── pops.rb
│ │ │ │ ├── scope.rb
│ │ │ │ ├── settings.rb
│ │ │ │ └── verbose.rb
│ │ ├── monkey_patches
│ │ │ ├── alias_should_to_must.rb
│ │ │ └── publicize_methods.rb
│ │ ├── spec.opts
│ │ ├── spec_helper.rb
│ │ ├── spec_helper_acceptance.rb
│ │ └── unit
│ │ │ ├── facter
│ │ │ ├── facter_dot_d_spec.rb
│ │ │ ├── pe_version_spec.rb
│ │ │ ├── root_home_spec.rb
│ │ │ └── util
│ │ │ │ └── puppet_settings_spec.rb
│ │ │ └── puppet
│ │ │ ├── parser
│ │ │ └── functions
│ │ │ │ ├── bool2str_spec.rb
│ │ │ │ └── camelcase_spec.rb
│ │ │ ├── provider
│ │ │ └── file_line
│ │ │ │ └── ruby_spec.rb
│ │ │ └── type
│ │ │ ├── anchor_spec.rb
│ │ │ └── file_line_spec.rb
│ └── tests
│ │ ├── file_line.pp
│ │ ├── has_interface_with.pp
│ │ ├── has_ip_address.pp
│ │ ├── has_ip_network.pp
│ │ └── init.pp
└── zypprepo
│ ├── Modulefile
│ ├── README
│ ├── _gitignore
│ ├── lib
│ └── puppet
│ │ └── type
│ │ └── zypprepo.rb
│ ├── manifests
│ └── init.pp
│ ├── metadata.json
│ ├── spec
│ ├── spec.opts
│ └── spec_helper.rb
│ └── tests
│ └── init.pp
└── site.pp
/.gitignore:
--------------------------------------------------------------------------------
1 | .librarian/
2 | .tmp/
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # MaestroDev Docker images
2 |
3 | Docker images for automated build and test on CentOS
4 |
5 | * [Jenkins swarm slave](jenkins-slave/README.md) `maestrodev/jenkins-slave`
6 |
7 | * [Build agent](build-agent/README.md) `maestrodev/build-agent`
8 |
--------------------------------------------------------------------------------
/build-agent/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'https://forgeapi.puppetlabs.com'
2 |
3 | mod 'maestrodev/maestro_nodes', '>= 1.7.0'
4 | mod 'rtyler/jenkins', '>= 1.2.0'
5 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.17'
5 | gem 'rspec-puppet', '>=1.0.0'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'librarian-puppet', '>=1.0.0'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | modulefile
4 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/wget (1.0.0)
5 | puppetlabs/stdlib (4.1.0)
6 |
7 | DEPENDENCIES
8 | maestrodev/wget (>= 1.0.0)
9 | puppetlabs/stdlib (>= 0)
10 |
11 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/manifests/package/rpm.pp:
--------------------------------------------------------------------------------
1 | class activemq::package::rpm(
2 | $version = 'present') {
3 |
4 | package { 'activemq':
5 | ensure => $version,
6 | }
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/manifests/service.pp:
--------------------------------------------------------------------------------
1 | class activemq::service() inherits activemq::params {
2 |
3 | service { 'activemq':
4 | name => 'activemq',
5 | ensure => running,
6 | hasrestart => true,
7 | hasstatus => false,
8 | enable => true,
9 | require => Anchor['activemq::package::end'],
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-stdlib'
2 | version '4.1.0'
3 | source 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
4 | author 'puppetlabs'
5 | license 'Apache 2.0'
6 | summary 'Puppet Module Standard Library'
7 | description 'Standard Library for Puppet Modules'
8 | project_page 'https://github.com/puppetlabs/puppetlabs-stdlib'
9 |
10 | ## Add dependencies, if any:
11 | # dependency 'username/name', '>= 1.2.0'
12 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/README_SPECS.markdown:
--------------------------------------------------------------------------------
1 | NOTE
2 | ====
3 |
4 | This project's specs depend on puppet core, and thus they require the
5 | `puppetlabs_spec_helper` project. For more information please see the README
6 | in that project, which can be found here: [puppetlabs spec
7 | helper](https://github.com/puppetlabs/puppetlabs_spec_helper)
8 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/activemq/spec/fixtures/modules/stdlib/spec/fixtures/manifests/site.pp
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb:
--------------------------------------------------------------------------------
1 | require 'rspec'
2 |
3 | class Object
4 | # This is necessary because the RAL has a 'should'
5 | # method.
6 | alias :must :should
7 | alias :must_not :should_not
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require 'puppet'
4 |
5 | anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
6 |
7 | describe anchor do
8 | it "should stringify normally" do
9 | anchor.to_s.should == "Anchor[ntp::begin]"
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/tests/file_line.pp:
--------------------------------------------------------------------------------
1 | # This is a simple smoke test
2 | # of the file_line resource type.
3 | file { '/tmp/dansfile':
4 | ensure => present
5 | }->
6 | file_line { 'dans_line':
7 | line => 'dan is awesome',
8 | path => '/tmp/dansfile',
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/tests/has_ip_address.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
3 | info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
4 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/tests/has_ip_network.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
3 | info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/stdlib/tests/init.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | group :rake do
4 | gem 'puppet', '~>2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '~>0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | end
10 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.0.0'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/wget/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 |
4 | require 'puppetlabs_spec_helper/rake_tasks'
5 |
6 | PuppetLint.configuration.send("disable_80chars")
7 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/wget/spec/classes/init_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'wget' do
4 |
5 | context 'running on OS X' do
6 | let(:facts) { {:operatingsystem => 'Darwin'} }
7 |
8 | it { should_not contain_package('wget') }
9 | end
10 |
11 | context 'running on CentOS' do
12 | let(:facts) { {:operatingsystem => 'CentOS'} }
13 |
14 | it { should contain_package('wget') }
15 | end
16 |
17 | end
18 |
--------------------------------------------------------------------------------
/build-agent/modules/activemq/spec/fixtures/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=2.1.0'
10 | gem 'librarian-puppet', '>=1.0.0'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'maestrodev/wget', '>=0.0.1'
4 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/wget (1.1.0)
5 |
6 | DEPENDENCIES
7 | maestrodev/wget (>= 0.0.1)
8 |
9 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/manifests/params.pp:
--------------------------------------------------------------------------------
1 | # This class is used to define default parameters for the ant module.
2 | #
3 | class ant::params {
4 | $srcdir = '/usr/local/src'
5 | $version = '1.8.2'
6 | }
--------------------------------------------------------------------------------
/build-agent/modules/ant/manifests/tasks/maven.pp:
--------------------------------------------------------------------------------
1 | # This class is used to install the Apache Maven Ant task library.
2 | #
3 | # ==Parameters
4 | #
5 | # [version] The version to install.
6 | class ant::tasks::maven($version = '2.1.3') {
7 |
8 | ant::lib { 'maven-ant-tasks':
9 | source_url => "http://archive.apache.org/dist/maven/binaries/maven-ant-tasks-${version}.jar",
10 | version => $version
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/manifests/tasks/sonar.pp:
--------------------------------------------------------------------------------
1 | # This class is used to install the Sonar Ant task library.
2 | #
3 | # ==Parameters
4 | #
5 | # [version] The version to install.
6 | class ant::tasks::sonar($version = '1.2') {
7 |
8 | ant::lib { 'sonar-ant-task':
9 | source_url => "http://repository.codehaus.org/org/codehaus/sonar-plugins/sonar-ant-task/${version}/sonar-ant-task-${version}.jar",
10 | version => $version,
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | group :rake do
4 | gem 'puppet', '~>2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '~>0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | end
10 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.1.0'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/modules/wget/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 |
4 | require 'puppetlabs_spec_helper/rake_tasks'
5 |
6 | PuppetLint.configuration.send("disable_80chars")
7 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/modules/wget/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
1 | wget::fetch { 'test':
2 | source => 'http://localhost/source',
3 | destination => '/tmp/dest',
4 | }
5 |
6 | wget::authfetch { 'authtest':
7 | source => 'http://localhost/source',
8 | destination => '/tmp/dest',
9 | user => 'myuser',
10 | password => 'mypassword',
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/ant/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/manifests/conf.pp:
--------------------------------------------------------------------------------
1 | define apt::conf (
2 | $content,
3 | $ensure = present,
4 | $priority = '50'
5 | ) {
6 |
7 | include apt::params
8 |
9 | $apt_conf_d = $apt::params::apt_conf_d
10 |
11 | file { "${apt_conf_d}/${priority}${name}":
12 | ensure => $ensure,
13 | content => $content,
14 | owner => root,
15 | group => root,
16 | mode => '0644',
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/manifests/release.pp:
--------------------------------------------------------------------------------
1 | # release.pp
2 |
3 | class apt::release (
4 | $release_id
5 | ) {
6 |
7 | include apt::params
8 |
9 | $root = $apt::params::root
10 |
11 | file { "${root}/apt.conf.d/01release":
12 | owner => root,
13 | group => root,
14 | mode => '0644',
15 | content => "APT::Default-Release \"${release_id}\";"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/manifests/update.pp:
--------------------------------------------------------------------------------
1 | class apt::update {
2 | include apt::params
3 |
4 | exec { 'apt_update':
5 | command => "${apt::params::provider} update",
6 | logoutput => 'on_failure',
7 | refreshonly => true,
8 | timeout => $apt::update_timeout,
9 | tries => $apt::update_tries,
10 | try_sleep => 1
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-70rc1-x64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-server-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 | vagrant_ssh_port_random: true
12 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-server-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/acceptance/unsupported_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_acceptance'
2 |
3 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
4 | it 'class apt fails' do
5 | pp = <<-EOS
6 | class { 'apt': }
7 | EOS
8 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/This module only works on Debian or derivatives like Ubuntu/i)
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/templates/source.list.erb:
--------------------------------------------------------------------------------
1 | # <%= @name %>
2 | deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
3 | <%- if @include_src then -%>
4 | deb-src <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
5 | <%- end -%>
6 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/builddep.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | apt::builddep{ 'glusterfs-server': }
3 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/debian/testing.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::debian::testing': }
3 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/debian/unstable.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::debian::unstable': }
3 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/force.pp:
--------------------------------------------------------------------------------
1 | # force.pp
2 |
3 | # force a package from a specific release
4 | apt::force { 'package1':
5 | release => 'backports',
6 | }
7 |
8 | # force a package to be a specific version
9 | apt::force { 'package2':
10 | version => '1.0.0-1',
11 | }
12 |
13 | # force a package from a specific release to be a specific version
14 | apt::force { 'package3':
15 | release => 'sid',
16 | version => '2.0.0-1',
17 | }
18 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/key.pp:
--------------------------------------------------------------------------------
1 | # Declare Apt key for apt.puppetlabs.com source
2 | apt::key { 'puppetlabs':
3 | key => '4BD6EC30',
4 | key_server => 'pgp.mit.edu',
5 | key_options => 'http-proxy="http://proxyuser:proxypass@example.org:3128"',
6 | }
7 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/params.pp:
--------------------------------------------------------------------------------
1 | include apt::params
2 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/pin.pp:
--------------------------------------------------------------------------------
1 | # pin a release in apt, useful for unstable repositories
2 | apt::pin { 'foo':
3 | packages => '*',
4 | priority => 0,
5 | }
6 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/ppa.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
3 | # Example declaration of an Apt PPA
4 | apt::ppa{ 'ppa:openstack-ppa/bleeding-edge': }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/release.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::release':
3 | release_id => 'karmic'
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/apt/tests/unattended_upgrades.pp:
--------------------------------------------------------------------------------
1 | include apt::unattended_upgrades
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.17'
5 | gem 'rspec-puppet', '>=1.0.0'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'librarian-puppet', '>=0.9.13'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | modulefile
4 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/maven (1.2.1)
5 | maestrodev/wget (>= 1.0.0)
6 | maestrodev/wget (1.4.1)
7 |
8 | DEPENDENCIES
9 | maestrodev/maven (>= 0.0.2)
10 | maestrodev/wget (>= 1.3.0)
11 |
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-maven'
2 | version '1.2.1'
3 |
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | project_page 'http://github.com/maestrodev/puppet-maven'
7 | source 'http://github.com/maestrodev/puppet-maven'
8 | summary 'Apache Maven module for Puppet'
9 | description 'A Puppet module to download artifacts from Maven repositories'
10 | dependency 'maestrodev/wget', '>=1.0.0'
11 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'maestrodev/wget', '>=1.0.0'
4 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/wget (1.1.0)
5 |
6 | DEPENDENCIES
7 | maestrodev/wget (>= 1.0.0)
8 |
9 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/lib/facter/maven_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("maven_version") do
2 | setcode do
3 | version = Facter::Util::Resolution.exec('mvn --version')
4 | version.chomp.split("\n")[0].split(" ")[2] if version
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/manifests/install_gem.pp:
--------------------------------------------------------------------------------
1 | define maven::install_gem ($version = '') {
2 | exec { "gem $name $version":
3 | path => '/usr/bin:/opt/ruby/bin',
4 | environment => "JAVA_HOME=$maven::java_home",
5 | command => "gem install $name --version $version --no-rdoc --no-ri",
6 | unless => "gem query -i --name-matches $name --version $version",
7 | logoutput => true,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/acceptance/nodesets/centos-65-x64-docker.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | image: devopsil/puppet:3.5.1
7 | # ip: localhost
8 | hypervisor : docker
9 | docker_image_commands:
10 | - yum -y install tar
11 | CONFIG:
12 | log_level: debug
13 | type: git
14 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/acceptance/nodesets/ubuntu-server-1310-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1310-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-13.10-amd64
6 | box : ubuntu-server-1310-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-1310-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/defines/default-mavenrc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/defines/default-mavenrc
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/defines/default-settings.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/defines/local-repo-settings.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 | /var/cache/maven/repository
5 |
6 |
7 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/defines/populated-mavenrc:
--------------------------------------------------------------------------------
1 | export MAVEN_OPTS="-Xmx256m $MAVEN_OPTS"
2 | export PATH="/usr/local/bin:$PATH"
3 | echo Hello World!
4 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.md5:
--------------------------------------------------------------------------------
1 | 807f2fca0e279dbe48f695983141fd5c
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.sha1:
--------------------------------------------------------------------------------
1 | 9abe1fe1048c09c797a41e1c6e1220d266a67649
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.md5:
--------------------------------------------------------------------------------
1 | 6aad426b37bfcc332f431dea11986f56
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.sha1:
--------------------------------------------------------------------------------
1 | 11a65f3820b9c405d7b7c07b4628d768daffa58e
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | 8d802d21680c5b3ef27d7bbf2f46fea0
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | d2a689273ae74e15ebd6834805da39c1906dbf8d
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.foo
4 | hello
5 |
6 |
7 | 0.0.1-SNAPSHOT
8 |
9 | 20131008025236
10 |
11 |
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | 18f0fe5ecb5c26cc534e7087db9a10b8
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | 48db5cef43f828bd207aecf13e071e59902aeece
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.md5:
--------------------------------------------------------------------------------
1 | 807f2fca0e279dbe48f695983141fd5c
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.sha1:
--------------------------------------------------------------------------------
1 | 9abe1fe1048c09c797a41e1c6e1220d266a67649
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.md5:
--------------------------------------------------------------------------------
1 | 6aad426b37bfcc332f431dea11986f56
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.sha1:
--------------------------------------------------------------------------------
1 | 11a65f3820b9c405d7b7c07b4628d768daffa58e
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar.md5:
--------------------------------------------------------------------------------
1 | 67fce35a2a7227a53cdcde06b86d33bf
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar.sha1:
--------------------------------------------------------------------------------
1 | 10ce6f327d30938bed82fec7d5ddfa4146e349e3
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.pom.md5:
--------------------------------------------------------------------------------
1 | 6aad426b37bfcc332f431dea11986f56
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.pom.sha1:
--------------------------------------------------------------------------------
1 | 11a65f3820b9c405d7b7c07b4628d768daffa58e
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | b879c7466ad00a5fadec890e1c4d84b2
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | c5fcfc2d01ef7b35e2751c78f9b47952a73fda84
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.foo
4 | hello
5 |
6 |
7 | 0.0.1-SNAPSHOT
8 |
9 | 20131008025236
10 |
11 |
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | 18f0fe5ecb5c26cc534e7087db9a10b8
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | 48db5cef43f828bd207aecf13e071e59902aeece
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | group :rake do
4 | gem 'puppet', '~>2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '~>0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | end
10 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.1.0'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/modules/wget/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 |
4 | require 'puppetlabs_spec_helper/rake_tasks'
5 |
6 | PuppetLint.configuration.send("disable_80chars")
7 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/modules/wget/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
1 | wget::fetch { 'test':
2 | source => 'http://localhost/source',
3 | destination => '/tmp/dest',
4 | }
5 |
6 | wget::authfetch { 'authtest':
7 | source => 'http://localhost/source',
8 | destination => '/tmp/dest',
9 | user => 'myuser',
10 | password => 'mypassword',
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/maven/spec/fixtures/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'rspec-system-puppet'
11 | gem 'rspec-system-serverspec'
12 | end
13 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.4.1'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/fixtures/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/archiva/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |c|
4 | c.treat_symbols_as_metadata_keys_with_true_values = true
5 |
6 | c.before(:each) do
7 | Puppet::Util::Log.level = :warning
8 | Puppet::Util::Log.newdestination(:console)
9 | end
10 | end
11 |
12 | shared_examples :compile, :compile => true do
13 | it { should compile.with_all_deps }
14 | end
15 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-concat'
2 | version '1.1.0'
3 | source 'git://github.com/puppetlabs/puppetlabs-concat.git'
4 | author 'Puppetlabs'
5 | license 'Apache 2.0'
6 | summary 'Concat module'
7 | description 'Concat module'
8 | project_page 'http://github.com/puppetlabs/puppetlabs-concat'
9 | dependency 'puppetlabs/stdlib', '>= 4.0.0'
10 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 | require 'puppet-lint/tasks/puppet-lint'
3 |
4 | PuppetLint.configuration.send('disable_80chars')
5 | PuppetLint.configuration.send('disable_quoted_booleans')
6 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/lib/facter/concat_basedir.rb:
--------------------------------------------------------------------------------
1 | # == Fact: concat_basedir
2 | #
3 | # A custom fact that sets the default location for fragments
4 | #
5 | # "${::vardir}/concat/"
6 | #
7 | Facter.add("concat_basedir") do
8 | setcode do
9 | File.join(Puppet[:vardir],"concat")
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/centos-64-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - database
6 | - dashboard
7 | platform: el-6-x86_64
8 | box : centos-64-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64.localhost:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: foss
12 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64.localdomain:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/sles-11sp1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11sp1-x64:
3 | roles:
4 | - master
5 | platform: sles-11-x86_64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/tests/fragment.pp:
--------------------------------------------------------------------------------
1 | concat { 'testconcat':
2 | ensure => present,
3 | path => '/tmp/concat',
4 | owner => 'root',
5 | group => 'root',
6 | mode => '0664',
7 | }
8 |
9 | concat::fragment { '1':
10 | target => 'testconcat',
11 | content => '1',
12 | order => '01',
13 | }
14 |
15 | concat::fragment { '2':
16 | target => 'testconcat',
17 | content => '2',
18 | order => '02',
19 | }
20 |
--------------------------------------------------------------------------------
/build-agent/modules/concat/tests/init.pp:
--------------------------------------------------------------------------------
1 | concat { '/tmp/concat':
2 | ensure => present,
3 | force => true,
4 | owner => 'root',
5 | group => 'root',
6 | mode => '0644',
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/epel/Modulefile:
--------------------------------------------------------------------------------
1 | name 'stahnma-epel'
2 | version '0.1.0'
3 | source 'http://github.com/stahnma/puppet-module-epel'
4 | author 'stahnma'
5 | license 'Apache License, Version 2.0'
6 | summary 'Setup the EPEL package repo'
7 | description 'Setup the EPEL package repo on Centos/RHEL et all'
8 | project_page 'http://github.com/stahnma/puppet-module-epel'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/epel/lib/facter/os_maj_version.rb:
--------------------------------------------------------------------------------
1 | # This is a simple fact to get the Major version of an OS without having to
2 | # have the entire LSB suite installed. LSB seems to pull in about 300 megs of
3 | # stuff I often don't require. This fact is quick to load so it shouldn't be
4 | # much of an issue.
5 |
6 | Facter.add(:os_maj_version) do
7 | setcode do
8 | v = Facter.value(:operatingsystemrelease)
9 | v.split('.')[0].strip
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/epel/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | def default_facts
4 | {
5 | :osfamily => 'RedHat',
6 | :operatingsystem => 'CentOS',
7 | }
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/epel/tests/init.pp:
--------------------------------------------------------------------------------
1 | # And by test, I mean, run this thing for me using Puppet apply and I'll check
2 | # it out.
3 | include 'epel'
4 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-firewall'
2 | version '1.1.2'
3 | source 'git://github.com/puppetlabs/puppetlabs-firewall.git'
4 | author 'puppetlabs'
5 | license 'ASL 2.0'
6 | summary 'Firewall Module'
7 | description 'Manages Firewalls such as iptables'
8 | project_page 'http://forge.puppetlabs.com/puppetlabs/firewall'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
3 | require 'puppet-lint/tasks/puppet-lint'
4 | PuppetLint.configuration.ignore_paths = ['vendor/**/*.pp']
5 |
6 | task :default do
7 | sh %{rake -T}
8 | end
9 |
10 | desc 'Run reasonably quick tests for CI'
11 | task :ci => [
12 | :lint,
13 | :spec,
14 | ]
15 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/lib/facter/ip6tables_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add(:ip6tables_version) do
2 | confine :kernel => :linux
3 | setcode do
4 | version = Facter::Util::Resolution.exec('ip6tables --version')
5 | if version
6 | version.match(/\d+\.\d+\.\d+/).to_s
7 | else
8 | nil
9 | end
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/lib/facter/iptables_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add(:iptables_version) do
2 | confine :kernel => :linux
3 | setcode do
4 | version = Facter::Util::Resolution.exec('iptables --version')
5 | if version
6 | version.match(/\d+\.\d+\.\d+/).to_s
7 | else
8 | nil
9 | end
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/centos-59-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | - database
6 | - console
7 | platform: el-5-x86_64
8 | box : centos-59-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/centos-64-x64-fusion.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-fusion503-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-fusion503-nocm.box
8 | hypervisor : fusion
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/centos-64-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - database
6 | - dashboard
7 | platform: el-6-x86_64
8 | box : centos-64-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/sles-11sp1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11sp1-x64:
3 | roles:
4 | - master
5 | platform: sles-11-x86_64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-64
6 | box: puppetlabs/ubuntu-14.04-64-nocm
7 | hypervisor : vagrant
8 | CONFIG:
9 | type: foss
10 |
--------------------------------------------------------------------------------
/build-agent/modules/firewall/spec/acceptance/unsupported_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_acceptance'
2 |
3 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
4 | it 'should fail' do
5 | pp = <<-EOS
6 | class { 'firewall': }
7 | EOS
8 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/not currently supported/i)
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/git/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=3.0.1'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.1'
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/git/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-git'
2 | version '1.0.2'
3 |
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | project_page 'http://github.com/maestrodev/puppet-git'
7 | source 'http://github.com/maestrodev/puppet-git'
8 | summary 'MaestroDev Git'
9 | description 'Install and configure Git client'
10 |
--------------------------------------------------------------------------------
/build-agent/modules/git/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 | require 'rake/clean'
4 |
5 | CLEAN.include('spec/fixtures/', 'doc', 'pkg')
6 | CLOBBER.include('.tmp', '.librarian')
7 |
8 | require 'puppetlabs_spec_helper/rake_tasks'
9 | require 'puppet_blacksmith/rake_tasks'
10 |
11 | PuppetLint.configuration.send("disable_80chars")
12 |
13 | task :default => [:clean, :spec]
14 |
--------------------------------------------------------------------------------
/build-agent/modules/git/manifests/init.pp:
--------------------------------------------------------------------------------
1 | class git {
2 | package { 'git': ensure => present, }
3 | }
4 |
--------------------------------------------------------------------------------
/build-agent/modules/git/spec/classes/git_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'git' do
4 |
5 | it { should contain_package('git').with_ensure('present') }
6 |
7 | end
8 |
--------------------------------------------------------------------------------
/build-agent/modules/git/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | Puppet::Util::Log.level = :warning
4 | Puppet::Util::Log.newdestination(:console)
5 |
--------------------------------------------------------------------------------
/build-agent/modules/git/templates/gitconfig.erb:
--------------------------------------------------------------------------------
1 | [user]
2 | email = <%= @email %>
3 | name = <%= @realname %>
4 |
--------------------------------------------------------------------------------
/build-agent/modules/java/Gemfile:
--------------------------------------------------------------------------------
1 | source "http://rubygems.org"
2 |
3 | if ENV.key?('PUPPET_VERSION')
4 | puppetversion = "= #{ENV['PUPPET_VERSION']}"
5 | elsif ENV.key?('PUPPET_GEM_VERSION')
6 | puppetversion = ENV['PUPPET_GEM_VERSION']
7 | else
8 | puppetversion = ['~> 2.7']
9 | end
10 |
11 | gem "rake"
12 | gem "puppet", puppetversion
13 | gem "puppet-lint"
14 | gem "rspec-puppet"
15 | gem "puppetlabs_spec_helper"
16 |
--------------------------------------------------------------------------------
/build-agent/modules/java/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-java'
2 | version '1.1.1'
3 | source 'git://github.com/puppetlabs/puppetlabs-java'
4 | author 'puppetlabs'
5 | license 'Apache'
6 | summary 'Manage the official Java runtime'
7 | description 'Manage the official Java runtime'
8 | project_page 'https://github.com/puppetlabs/puppetlabs-java'
9 |
10 | dependency 'puppetlabs/stdlib', '>= 0.1.6'
11 |
--------------------------------------------------------------------------------
/build-agent/modules/java/README.markdown:
--------------------------------------------------------------------------------
1 | #Java
2 |
3 | Manage the Java runtime for use with other application software.
4 |
5 | Currently this deploys the correct Java package on a variety of platforms.
6 |
--------------------------------------------------------------------------------
/build-agent/modules/java/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 | require 'puppet-lint/tasks/puppet-lint'
3 |
4 | PuppetLint.configuration.send("disable_80chars")
5 | PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}"
6 |
--------------------------------------------------------------------------------
/build-agent/modules/java/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/java/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'java':
2 | distribution => 'jdk',
3 | version => 'latest',
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/features/support/boxes/deb/install-puppet-module.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | which puppet-module
4 |
5 | if [ $? -ne 0 ]; then
6 | gem install puppet-module --no-ri --no-rdoc
7 | fi
8 |
9 | exit 0
10 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/features/support/boxes/deb/verify-jenkins-install:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 |
4 | unless File.exists? '/etc/init.d/jenkins'
5 | puts 'Jenkins start/stop script does not exist'
6 | exit 1
7 | end
8 |
9 | unless File.exists? '/var/lib/jenkins'
10 | puts 'Jenkins home directory does not exist'
11 | exit 1
12 | end
13 |
14 | exit 0
15 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/features/support/boxes/deb/verify-plugin-install:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | if ARGV.first.nil?
4 | puts "I need a plugin name stupid"
5 | exit 1
6 | end
7 |
8 | unless File.exists? "/var/lib/jenkins/plugins/#{ARGV.first}.hpi"
9 | puts "#{ARGV.first}.hpi does not exist"
10 | exit 1
11 | end
12 |
13 | exit 0
14 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/features/support/env.rb:
--------------------------------------------------------------------------------
1 |
2 | Before do
3 | @project_root = File.expand_path(File.dirname(__FILE__) + '/../../')
4 | end
5 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/lib/facter/jenkins.rb:
--------------------------------------------------------------------------------
1 | # jenkins.rb
2 | #
3 | # Creates a fact 'jenkins_plugins' containing a comma-delimited string of all
4 | # jenkins plugins + versions.
5 | #
6 | #
7 | require 'puppet/jenkins/facts'
8 |
9 | # If we're being loaded inside the module, we'll need to go ahead and add our
10 | # facts then won't we?
11 | Puppet::Jenkins::Facts.install
12 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/lib/puppet/features/jpm.rb:
--------------------------------------------------------------------------------
1 | # The 'jpm' feature will help confine our custom jpm provider to only exist if
2 | # we have the `jpm` rubygem installed
3 | #
4 | # Based on:
5 |
6 | Puppet.features.add(:jpm, :libs => ['jpm'])
7 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/manifests/jobs.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::jobs
2 | #
3 | class jenkins::jobs {
4 |
5 | if $caller_module_name != $module_name {
6 | fail("Use of private class ${name} by ${caller_module_name}")
7 | }
8 |
9 | create_resources('jenkins::job',$::jenkins::job_hash)
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/manifests/master.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::master
2 | #
3 | #
4 | class jenkins::master (
5 | $version = $jenkins::params::swarm_version
6 | ) inherits jenkins::params {
7 |
8 | jenkins::plugin {'swarm':
9 | version => $version ,
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/manifests/plugins.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::plugins
2 | #
3 | class jenkins::plugins {
4 |
5 | if $caller_module_name != $module_name {
6 | fail("Use of private class ${name} by ${caller_module_name}")
7 | }
8 |
9 | create_resources('jenkins::plugin',$jenkins::plugin_hash)
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/manifests/service.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::service
2 | #
3 | class jenkins::service {
4 |
5 | if $caller_module_name != $module_name {
6 | fail("Use of private class ${name} by ${caller_module_name}")
7 | }
8 |
9 | service { 'jenkins':
10 | ensure => $jenkins::service_ensure,
11 | enable => $jenkins::service_enable,
12 | hasstatus => true,
13 | hasrestart => true,
14 | }
15 |
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/build-agent/modules/jenkins/templates/proxy.xml.erb:
--------------------------------------------------------------------------------
1 |
2 | <%= @proxy_host %>
3 | <%= @proxy_port %>
4 | <% if @no_proxy_list -%>
5 | <%= @no_proxy_list.join("\n") %>
6 | <% end -%>
7 |
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/Changelog:
--------------------------------------------------------------------------------
1 | # 1.3.0
2 |
3 | When installing agents from RPM, the minimum version required is agent 2.1.0
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet'
5 | gem 'rspec-puppet'
6 | gem 'rake'
7 | gem 'puppet-lint'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'librarian-puppet', '>=0.9.12'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | modulefile
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/manifests/agent/package/rpm.pp:
--------------------------------------------------------------------------------
1 | class maestro::agent::package::rpm($version) {
2 |
3 | include maestro::yumrepo
4 |
5 | package { 'maestro-agent':
6 | ensure => $version,
7 | before => [File['/etc/sysconfig/maestro-agent'], File[$maestro::agent::agent_user_home]], # so agent owner is set by puppet afterwards
8 | }
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/manifests/init.pp:
--------------------------------------------------------------------------------
1 | # Class: maestro
2 | #
3 | # This module manages maestro
4 | #
5 | # Parameters:
6 | #
7 | # Actions:
8 | #
9 | # Requires:
10 | #
11 | # [Remember: No empty lines between comments and class definition]
12 | class maestro {
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/manifests/logging.pp:
--------------------------------------------------------------------------------
1 | class maestro::logging( $level = 'INFO' ) {
2 | warning("maestro::logging is deprecated and ignored, use maestro::params::logging_level")
3 | }
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/manifests/maestro/maestro_db.pp:
--------------------------------------------------------------------------------
1 | # create a database and give all permissions to maestro user
2 | define maestro::maestro::maestro_db() {
3 |
4 | include maestro::params
5 |
6 | postgresql::server::database { $name: }
7 |
8 | postgresql::server::database_grant { "maestro db ${name}":
9 | privilege => 'ALL',
10 | role => $maestro::params::db_username,
11 | db => $name,
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/manifests/maestro/package/rpm.pp:
--------------------------------------------------------------------------------
1 | class maestro::maestro::package::rpm($version) {
2 |
3 | include maestro::yumrepo
4 |
5 | package { 'maestro':
6 | ensure => $version,
7 | before => File['/etc/sysconfig/maestro'],
8 | }
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/templates/lucee-lib.json.erb:
--------------------------------------------------------------------------------
1 | {
2 | "base_url": "<%= @lucee_url %>",
3 | "username": "<%= @lucee_username %>",
4 | "password": "<%= @lucee_password %>"
5 | }
6 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/tests/agent.pp:
--------------------------------------------------------------------------------
1 | import 'common.pp'
2 |
3 | # Agent
4 | class { 'maestro::agent':
5 | rmi_server_hostname => "10.42.42.50",
6 | }
7 | Package['java'] -> Service['maestro-agent']
8 |
9 | # Firewall rule to open up JMX port on our vagrant box
10 | firewall { '900 enable jmx':
11 | action => accept,
12 | dport => $maestro::agent::jmxport,
13 | proto => "tcp",
14 | }
15 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/tests/common.pp:
--------------------------------------------------------------------------------
1 | notify { "using MAESTRODEV_USERNAME=$maestrodev_username": }
2 |
3 | class { 'maestro::yumrepo':
4 | username => $maestrodev_username,
5 | password => $maestrodev_password,
6 | }
7 |
8 | # Java
9 | class { 'java': package => 'java-1.6.0-openjdk-devel' }
10 |
11 | firewall { '900 enable ssh':
12 | action => accept,
13 | dport => "22",
14 | proto => "tcp",
15 | }
16 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro/tests/maestro.pp:
--------------------------------------------------------------------------------
1 | import 'common.pp'
2 |
3 | include activemq
4 | include activemq::stomp
5 |
6 | # Maestro
7 | class { 'maestro::maestro':
8 | admin_password => "admin1",
9 | master_password => "admin1",
10 | db_server_password => "admin1",
11 | db_password => "admin1",
12 | }
13 |
14 | Package['java'] -> Service['activemq']
15 | Package['java'] -> Service['maestro']
16 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=3.4.0'
5 | gem 'rspec-puppet', '>=1.0.0'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.1'
10 | gem 'librarian-puppet', '>=0.9.12'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'https://forgeapi.puppetlabs.com'
2 |
3 | modulefile
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/files/nginx/default.conf:
--------------------------------------------------------------------------------
1 | server {
2 | listen 80;
3 | return 301 https://$host$request_uri;
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/agent/jenkins.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::agent::jenkins() inherits maestro::params {
2 |
3 | class { '::jenkins::slave':
4 | manage_slave_user => false,
5 | slave_user => $maestro::params::agent_user,
6 | slave_home => $maestro::params::agent_user_home,
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/agentrvm.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::agentrvm {
2 |
3 | include maestro_nodes::agent
4 |
5 | class { 'maestro_nodes::agent::rvm': }
6 | }
7 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/firewall/maestro.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::firewall::maestro {
2 |
3 | include maestro_nodes::firewall
4 |
5 | firewall { '020 allow http/https':
6 | proto => 'tcp',
7 | port => [80,443,8080],
8 | action => 'accept',
9 | }
10 | firewall { '030 allow stomp':
11 | proto => 'tcp',
12 | port => [61613],
13 | action => 'accept',
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/firewall/post.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::firewall::post {
2 |
3 | anchor { 'firewall-post':
4 | require => Anchor['firewall-pre'], # this is kindof duplicated but needed
5 | } ->
6 |
7 | firewall { "999 drop all other requests":
8 | proto => 'all',
9 | action => 'drop',
10 | before => undef,
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/firewall/puppetmaster.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::firewall::puppetmaster {
2 |
3 | firewall { '040 allow puppetmaster':
4 | proto => 'tcp',
5 | port => [8140],
6 | action => 'accept',
7 | }
8 | }
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/maestrofirewall.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::maestrofirewall {
2 |
3 | notify { 'maestro_nodes::maestrofirewall is deprecated, use maestro_nodes::firewall::maestro': }
4 |
5 | include maestro_nodes::firewall::maestro
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/mail.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::mail(
2 | $from_name,
3 | $from_address,
4 | ) {
5 | $mail_from = {
6 | name => $from_name,
7 | address => $from_address,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/nginx/archivaservernginx.pp:
--------------------------------------------------------------------------------
1 | # This class includes a jenkins server with a nginx server in front
2 | class maestro_nodes::nginx::archivaservernginx() {
3 |
4 | include maestro_nodes::archivaserver
5 | include maestro_nodes::nginx::archiva
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/nginx/jenkinsservernginx.pp:
--------------------------------------------------------------------------------
1 | # This class includes a jenkins server with a nginx server in front
2 | class maestro_nodes::nginx::jenkinsservernginx() {
3 |
4 | include maestro_nodes::jenkinsserver
5 | include maestro_nodes::nginx::jenkins
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/nginx/maestroservernginx.pp:
--------------------------------------------------------------------------------
1 | # This class includes a maestro server with a nginx server in front
2 | class maestro_nodes::nginx::maestroservernginx() {
3 |
4 | include maestro_nodes::maestroserver
5 | include maestro_nodes::nginxproxy
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/manifests/nginx/params.pp:
--------------------------------------------------------------------------------
1 | class maestro_nodes::nginx::params(
2 | $hostname = $::fqdn,
3 | $ssl = false,
4 | $ssl_cert = undef,
5 | $ssl_key = undef) {
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/spec/classes/nginx/jenkinsservernginx_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'maestro_nodes::nginx::jenkinsservernginx', :compile do
4 |
5 | let(:pre_condition) { "class { 'maestro_nodes::nginxproxy': }" }
6 |
7 | it { should contain_nginx__resource__location('jenkins_app') }
8 | it { should contain_nginx__resource__upstream('jenkins_app') }
9 | it { should contain_class('jenkins') }
10 |
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/spec/classes/nginx/nginx_proxy_shared.rb:
--------------------------------------------------------------------------------
1 | shared_examples :nginx_proxy do |app|
2 |
3 | end
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/spec/classes/parent_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'maestro_nodes::parent', :compile do
4 |
5 | it { should contain_class('java') }
6 | it { should contain_package('java').with(
7 | :name => 'java-1.6.0-openjdk-devel',
8 | :ensure => 'present') }
9 |
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/spec/classes/sonarserver_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'maestro_nodes::sonarserver', :compile do
4 |
5 | let(:params) { {
6 | :db_password => 'mypassword'
7 | } }
8 |
9 | let(:pre_condition) { "class { 'maestro::maestro::db': }" }
10 |
11 | it { should contain_postgresql__server__db("sonar") }
12 | end
13 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/spec/fixtures/hiera.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | :backends:
3 | - rspec
4 | - yaml
5 | :yaml:
6 | :datadir: './spec/fixtures/hieradata'
7 | :hierarchy:
8 | - '%{::clientcert}'
9 | - 'default'
10 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/templates/androidsdk.properties.erb:
--------------------------------------------------------------------------------
1 | sdk.dir=<%= @sdk_home %>
2 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/templates/ant.xml.erb:
--------------------------------------------------------------------------------
1 | sonar.host.url=http://<%= @fqdn and @fqdn.gsub(/\.agent\w*/,'') || @hostname %>:8083
2 | sonar.jdbc.url=jdbc:postgresql://<%= @fqdn and @fqdn.gsub(/\.agent\w*/,'') || @hostname %>:5432/sonar
3 | sonar.jdbc.driverClassName=org.postgresql.Driver
4 | sonar.jdbc.username=maestro
5 | sonar.jdbc.password=maestro
6 | deploy.repo.url=<%= scope.lookupvar('maestro_nodes::repositories::deploy_repo_url') %>
7 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/templates/puppet_enterprise_installer.txt.erb:
--------------------------------------------------------------------------------
1 | fact_stomp_port=<%= @stomp_port %>
2 | fact_stomp_server=<%= @fqdn %>
3 | fact_is_puppetagent=true
4 | fact_is_puppetmaster=true
5 | fact_is_puppetca=true
6 | fact_is_puppetconsole=true
7 | fact_puppetmaster_certname=<%= @fqdn %>
8 |
--------------------------------------------------------------------------------
/build-agent/modules/maestro_nodes/templates/puppetforge.yml.erb:
--------------------------------------------------------------------------------
1 | ---
2 | forge: '<%= @forge %>'
3 | username: '<%= @username %>'
4 | password: '<%= @password %>'
5 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-maven'
2 | version '1.2.1'
3 |
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | project_page 'http://github.com/maestrodev/puppet-maven'
7 | source 'http://github.com/maestrodev/puppet-maven'
8 | summary 'Apache Maven module for Puppet'
9 | description 'A Puppet module to download artifacts from Maven repositories'
10 | dependency 'maestrodev/wget', '>=1.0.0'
11 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'maestrodev/wget', '>=1.0.0'
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/wget (1.1.0)
5 |
6 | DEPENDENCIES
7 | maestrodev/wget (>= 1.0.0)
8 |
9 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/lib/facter/maven_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("maven_version") do
2 | setcode do
3 | version = Facter::Util::Resolution.exec('mvn --version')
4 | version.chomp.split("\n")[0].split(" ")[2] if version
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/manifests/install_gem.pp:
--------------------------------------------------------------------------------
1 | define maven::install_gem ($version = '') {
2 | exec { "gem $name $version":
3 | path => '/usr/bin:/opt/ruby/bin',
4 | environment => "JAVA_HOME=$maven::java_home",
5 | command => "gem install $name --version $version --no-rdoc --no-ri",
6 | unless => "gem query -i --name-matches $name --version $version",
7 | logoutput => true,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/acceptance/nodesets/centos-65-x64-docker.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | image: devopsil/puppet:3.5.1
7 | # ip: localhost
8 | hypervisor : docker
9 | docker_image_commands:
10 | - yum -y install tar
11 | CONFIG:
12 | log_level: debug
13 | type: git
14 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/acceptance/nodesets/ubuntu-server-1310-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1310-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-13.10-amd64
6 | box : ubuntu-server-1310-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-1310-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/defines/default-mavenrc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/maven/spec/defines/default-mavenrc
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/defines/default-settings.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/defines/local-repo-settings.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 | /var/cache/maven/repository
5 |
6 |
7 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/defines/populated-mavenrc:
--------------------------------------------------------------------------------
1 | export MAVEN_OPTS="-Xmx256m $MAVEN_OPTS"
2 | export PATH="/usr/local/bin:$PATH"
3 | echo Hello World!
4 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.md5:
--------------------------------------------------------------------------------
1 | 807f2fca0e279dbe48f695983141fd5c
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.sha1:
--------------------------------------------------------------------------------
1 | 9abe1fe1048c09c797a41e1c6e1220d266a67649
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.md5:
--------------------------------------------------------------------------------
1 | 6aad426b37bfcc332f431dea11986f56
2 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.sha1:
--------------------------------------------------------------------------------
1 | 11a65f3820b9c405d7b7c07b4628d768daffa58e
2 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | 8d802d21680c5b3ef27d7bbf2f46fea0
2 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | d2a689273ae74e15ebd6834805da39c1906dbf8d
2 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.foo
4 | hello
5 |
6 |
7 | 0.0.1-SNAPSHOT
8 |
9 | 20131008025236
10 |
11 |
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | 18f0fe5ecb5c26cc534e7087db9a10b8
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-1/org/foo/hello/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | 48db5cef43f828bd207aecf13e071e59902aeece
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.md5:
--------------------------------------------------------------------------------
1 | 807f2fca0e279dbe48f695983141fd5c
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.jar.sha1:
--------------------------------------------------------------------------------
1 | 9abe1fe1048c09c797a41e1c6e1220d266a67649
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.md5:
--------------------------------------------------------------------------------
1 | 6aad426b37bfcc332f431dea11986f56
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.014634-1.pom.sha1:
--------------------------------------------------------------------------------
1 | 11a65f3820b9c405d7b7c07b4628d768daffa58e
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar.md5:
--------------------------------------------------------------------------------
1 | 67fce35a2a7227a53cdcde06b86d33bf
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.jar.sha1:
--------------------------------------------------------------------------------
1 | 10ce6f327d30938bed82fec7d5ddfa4146e349e3
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.pom.md5:
--------------------------------------------------------------------------------
1 | 6aad426b37bfcc332f431dea11986f56
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/hello-0.0.1-20131008.025235-2.pom.sha1:
--------------------------------------------------------------------------------
1 | 11a65f3820b9c405d7b7c07b4628d768daffa58e
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | b879c7466ad00a5fadec890e1c4d84b2
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/0.0.1-SNAPSHOT/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | c5fcfc2d01ef7b35e2751c78f9b47952a73fda84
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.foo
4 | hello
5 |
6 |
7 | 0.0.1-SNAPSHOT
8 |
9 | 20131008025236
10 |
11 |
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/maven-metadata.xml.md5:
--------------------------------------------------------------------------------
1 | 18f0fe5ecb5c26cc534e7087db9a10b8
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/acceptance/maven/repo-2/org/foo/hello/maven-metadata.xml.sha1:
--------------------------------------------------------------------------------
1 | 48db5cef43f828bd207aecf13e071e59902aeece
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | group :rake do
4 | gem 'puppet', '~>2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '~>0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | end
10 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.1.0'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/modules/wget/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 |
4 | require 'puppetlabs_spec_helper/rake_tasks'
5 |
6 | PuppetLint.configuration.send("disable_80chars")
7 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/modules/wget/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
1 | wget::fetch { 'test':
2 | source => 'http://localhost/source',
3 | destination => '/tmp/dest',
4 | }
5 |
6 | wget::authfetch { 'authtest':
7 | source => 'http://localhost/source',
8 | destination => '/tmp/dest',
9 | user => 'myuser',
10 | password => 'mypassword',
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/spec/fixtures/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/maven/templates/mavenrc.erb:
--------------------------------------------------------------------------------
1 | <% if has_variable?("maven_opts") and @maven_opts != "" -%>
2 | export MAVEN_OPTS="<%= @maven_opts %> $MAVEN_OPTS"
3 | <% end -%>
4 | <% if has_variable?("maven_path_additions") && @maven_path_additions != "" -%>
5 | export PATH="<%= @maven_path_additions %>:$PATH"
6 | <% end -%>
7 | <% if has_variable?("mavenrc_additions") && @mavenrc_additions != "" -%>
8 | <%= @mavenrc_additions %>
9 | <% end -%>
10 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/.bundle/config:
--------------------------------------------------------------------------------
1 | ---
2 | BUNDLE_WITHOUT: development
3 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4 | "apt": "git://github.com/puppetlabs/puppetlabs-apt.git"
5 | symlinks:
6 | "mongodb": "#{source_dir}"
7 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/.forge-release/publish:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Perform GitHub publish
4 | if [ -z "$PUBLISHER_LOGIN" ]
5 | then
6 | echo "Environment variable PUBLISHER_LOGIN must be set"
7 | exit 1
8 | fi
9 |
10 | if [ -z "$PUBLISHER_PASSWORD" ]
11 | then
12 | echo "Environment variable PUBLISHER_PASSWORD must be set"
13 | exit 1
14 | fi
15 |
16 | MODULES_ROOT=`pwd`
17 | cd $(dirname $0)
18 | mvn -q -s settings.xml -Dforge.modules.root="$MODULES_ROOT" deploy
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/.forge-release/validate:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Perform GitHub publish
4 | MODULES_ROOT=`pwd`
5 | cd $(dirname $0)
6 | mvn -q -s settings.xml -Dforge.modules.root="$MODULES_ROOT" compile
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 | require 'rspec-system/rake_task'
3 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/manifests/sources/yum.pp:
--------------------------------------------------------------------------------
1 | class mongodb::sources::yum inherits mongodb::params {
2 | yumrepo { '10gen':
3 | descr => 'MongoDB/10gen Repository',
4 | baseurl => $mongodb::params::baseurl,
5 | gpgcheck => '0',
6 | enabled => '1',
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/spec/system/basic_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_system'
2 |
3 | describe 'basic tests:' do
4 | # Using puppet_apply as a subject
5 | context puppet_apply 'notice("foo")' do
6 | its(:stdout) { should =~ /foo/ }
7 | its(:stderr) { should be_empty }
8 | its(:exit_code) { should be_zero }
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/spec/system/mongodb_config_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_system'
2 |
3 | describe 'mongodb::config' do
4 | config_file = '/etc/mongodb.conf'
5 |
6 | it 'runs setup' do
7 | pp = <<-EOS
8 | class { 'mongodb': }
9 | EOS
10 | puppet_apply(pp)
11 | end
12 |
13 | describe file(config_file) do
14 | it { should be_file }
15 | end
16 |
17 | end
18 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { '::mongodb': }
2 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/tests/init_10gen.pp:
--------------------------------------------------------------------------------
1 | class { '::mongodb':
2 | enable_10gen => true,
3 | }
4 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/tests/sources/apt.pp:
--------------------------------------------------------------------------------
1 | include mongodb::sources::apt
2 |
--------------------------------------------------------------------------------
/build-agent/modules/mongodb/tests/sources/yum.pp:
--------------------------------------------------------------------------------
1 | include mongodb::sources::yum
2 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=3.0.1'
5 | gem 'rspec-puppet', '>=1.0.1'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith'
10 | gem 'librarian-puppet-maestrodev'
11 | gem 'rspec-system-puppet', :require => false
12 | gem 'rspec-system-serverspec', :require => false
13 | end
14 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'puppetlabs/stdlib', '>=0.1.6'
4 | mod 'puppetlabs/apt', '>=1.0.0'
5 | mod 'puppetlabs/concat', '>=1.0.0'
6 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | puppetlabs/apt (1.2.0)
5 | puppetlabs/stdlib (>= 2.2.1)
6 | puppetlabs/concat (1.0.0)
7 | puppetlabs/stdlib (4.1.0)
8 |
9 | DEPENDENCIES
10 | puppetlabs/apt (>= 1.0.0)
11 | puppetlabs/concat (>= 1.0.0)
12 | puppetlabs/stdlib (>= 0.1.6)
13 |
14 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jfryman/puppet-nginx",
3 | "type": "project",
4 | "description": "Puppet module for nginx installation",
5 | "keywords": ["puppet", "nginx"],
6 | "license": "Apache-2.0",
7 | "require": {
8 | },
9 | "extra": {
10 | "branch-alias": {
11 | "dev-master": "1.x-dev"
12 | }
13 | }
14 | }
--------------------------------------------------------------------------------
/build-agent/modules/nginx/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |c|
4 | c.default_facts = {
5 | :kernel => 'Linux',
6 | :concat_basedir => '/var/lib/puppet/concat',
7 | }
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/tests/init.pp:
--------------------------------------------------------------------------------
1 | # The notify before should always come BEFORE all resources
2 | # managed by the nginx class
3 | # and the notify last should always come AFTER all resources
4 | # managed by the nginx class.
5 | node default {
6 | notify { 'before': }
7 | -> class { 'nginx': }
8 | -> notify { 'last': }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/tests/location_alias.pp:
--------------------------------------------------------------------------------
1 | include nginx
2 |
3 | nginx::resource::location { 'www.test.com-alias':
4 | ensure => present,
5 | location => '/some/url',
6 | location_alias => '/new/url/',
7 | vhost => 'www.test.com',
8 | }
9 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/tests/upstream.pp:
--------------------------------------------------------------------------------
1 | include nginx
2 |
3 | nginx::resource::upstream { 'proxypass':
4 | ensure => present,
5 | members => [
6 | 'localhost:3000',
7 | 'localhost:3001',
8 | 'localhost:3002',
9 | ],
10 | }
11 |
--------------------------------------------------------------------------------
/build-agent/modules/nginx/tests/vhost.pp:
--------------------------------------------------------------------------------
1 | include nginx
2 |
3 | nginx::resource::vhost { 'test.local test':
4 | ensure => present,
5 | ipv6_enable => true,
6 | proxy => 'http://proxypass',
7 | }
8 |
9 | nginx::resource::vhost { 'test.local:8080':
10 | ensure => present,
11 | listen_port => 8080,
12 | server_name => ['test.local test'],
13 | ipv6_enable => true,
14 | proxy => 'http://proxypass',
15 | }
16 |
17 |
--------------------------------------------------------------------------------
/build-agent/modules/nodejs/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/nodejs/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/nodejs/tests/init.pp:
--------------------------------------------------------------------------------
1 | include nodejs
2 |
--------------------------------------------------------------------------------
/build-agent/modules/nodejs/tests/npm.pp:
--------------------------------------------------------------------------------
1 | include 'nodejs'
2 |
3 | nodejs::npm { '/tmp/npm:express':
4 | ensure => present,
5 | version => '2.5.9',
6 | }
7 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/manifests/install.pp:
--------------------------------------------------------------------------------
1 | #
2 | class ntp::install inherits ntp {
3 |
4 | package { 'ntp':
5 | ensure => $package_ensure,
6 | name => $package_name,
7 | }
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/centos-64-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - database
6 | - dashboard
7 | platform: el-6-x86_64
8 | box : centos-64-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/acceptance/unsupported_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_acceptance'
2 |
3 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
4 | it 'should fail' do
5 | pp = <<-EOS
6 | class { 'ntp': }
7 | EOS
8 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/is not supported on an/i)
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/fixtures/modules/my_ntp/templates/ntp.conf.erb:
--------------------------------------------------------------------------------
1 | #my uber ntp config
2 | #
3 |
4 | server foobar
5 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/unit/puppet/provider/README.markdown:
--------------------------------------------------------------------------------
1 | Provider Specs
2 | ==============
3 |
4 | Define specs for your providers under this directory.
5 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/spec/unit/puppet/type/README.markdown:
--------------------------------------------------------------------------------
1 | Resource Type Specs
2 | ===================
3 |
4 | Define specs for your resource types in this directory.
5 |
--------------------------------------------------------------------------------
/build-agent/modules/ntp/tests/init.pp:
--------------------------------------------------------------------------------
1 | node default {
2 |
3 | notify { 'enduser-before': }
4 | notify { 'enduser-after': }
5 |
6 | class { 'ntp':
7 | require => Notify['enduser-before'],
8 | before => Notify['enduser-after'],
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'bundler/setup'
3 |
4 | Bundler.require :default
5 |
6 | require 'puppetlabs_spec_helper/rake_tasks'
7 | require 'puppet-lint/tasks/puppet-lint'
8 |
9 | task :default do
10 | sh %{rake -T}
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/manifests/lib/perl.pp:
--------------------------------------------------------------------------------
1 | # This class installs the perl libs for postgresql. See README.md for more
2 | # details.
3 | class postgresql::lib::perl(
4 | $package_name = $postgresql::params::perl_package_name,
5 | $package_ensure = 'present'
6 | ) inherits postgresql::params {
7 |
8 | package { 'perl-DBD-Pg':
9 | ensure => $package_ensure,
10 | name => $package_name,
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/manifests/lib/python.pp:
--------------------------------------------------------------------------------
1 | # This class installs the python libs for postgresql. See README.md for more
2 | # details.
3 | class postgresql::lib::python(
4 | $package_name = $postgresql::params::python_package_name,
5 | $package_ensure = 'present'
6 | ) inherits postgresql::params {
7 |
8 | package { 'python-psycopg2':
9 | ensure => $package_ensure,
10 | name => $package_name,
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/centos-510-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-510-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-510-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-510-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/centos-64-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - database
6 | - dashboard
7 | platform: el-6-x86_64
8 | box : centos-64-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-64
6 | box: puppetlabs/ubuntu-14.04-64-nocm
7 | hypervisor : vagrant
8 | CONFIG:
9 | type: foss
10 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/unit/classes/lib/devel_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'postgresql::lib::devel', :type => :class do
4 | let :facts do
5 | {
6 | :osfamily => 'Debian',
7 | :operatingsystem => 'Debian',
8 | :operatingsystemrelease => '6.0',
9 | }
10 | end
11 | it { should contain_class("postgresql::lib::devel") }
12 | end
13 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/unit/classes/params_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'postgresql::params', :type => :class do
4 | let :facts do
5 | {
6 | :osfamily => 'Debian',
7 | :operatingsystem => 'Debian',
8 | :operatingsystemrelease => '6.0',
9 | }
10 | end
11 | it { should contain_class("postgresql::params") }
12 | end
13 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/unit/functions/postgresql_escape_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'postgresql_escape', :type => :puppet_function do
4 | it { should run.with_params('foo').
5 | and_return('$$foo$$') }
6 | end
7 | describe 'postgresql_escape', :type => :puppet_function do
8 | it { should run.with_params('fo$$o').
9 | and_return('$ed$fo$$o$ed$') }
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'postgresql_password', :type => :puppet_function do
4 | it { should run.with_params('foo', 'bar').
5 | and_return('md596948aad3fcae80c08a35c9b5958cd89') }
6 | end
7 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/templates/pg_hba_rule.conf:
--------------------------------------------------------------------------------
1 |
2 | # Rule Name: <%=@name%>
3 | # Description: <%=@description%>
4 | # Order: <%=@order%>
5 | <%=@type%> <%=@database%> <%=@user%> <%=@address%> <%=@auth_method%> <%=@auth_option%>
6 |
--------------------------------------------------------------------------------
/build-agent/modules/postgresql/templates/systemd-port-override.erb:
--------------------------------------------------------------------------------
1 | .include /lib/systemd/system/postgresql.service
2 | [Service]
3 | Environment=PGPORT=<%= @value %>
4 |
--------------------------------------------------------------------------------
/build-agent/modules/powershell/Modulefile:
--------------------------------------------------------------------------------
1 | name 'joshcooper-powershell'
2 | version '0.0.6'
3 | source 'git://github.com/joshcooper/puppetlabs-powershell.git'
4 | author 'Josh Cooper'
5 | license 'Apache License, Version 2.0'
6 | summary 'A PowerShell provider for puppet.'
7 | description 'A PowerShell provider for puppet.'
8 | project_page 'http://links.puppetlabs.com/powershell-module'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | metadata
4 |
5 | mod 'puppetlabs/apache', '>= 1.1.0'
6 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: https://forgeapi.puppetlabs.com
3 | specs:
4 | puppetlabs-apache (1.1.0)
5 | puppetlabs-concat (>= 1.0.0)
6 | puppetlabs-stdlib (>= 2.4.0)
7 | puppetlabs-concat (1.1.0)
8 | puppetlabs-stdlib (>= 4.0.0)
9 | puppetlabs-stdlib (4.5.1)
10 |
11 | DEPENDENCIES
12 | puppetlabs-apache (>= 1.1.0)
13 | puppetlabs-stdlib (>= 4.2.0)
14 |
15 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/lib/facter/rvm_installed.rb:
--------------------------------------------------------------------------------
1 | Facter.add("rvm_installed") do
2 | rvm_binary = "/usr/local/rvm/bin/rvm"
3 |
4 | setcode do
5 | File.exists? rvm_binary
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/lib/facter/rvm_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("rvm_version") do
2 | rvm_binary = "/usr/local/rvm/bin/rvm"
3 |
4 | setcode do
5 | File.exists?(rvm_binary) ? `#{rvm_binary} version`.strip.match(/rvm ([0-9]+\.[0-9]+\.[0-9]+) .*/)[1] : nil
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/dependencies.pp:
--------------------------------------------------------------------------------
1 | # Install packages needed by RVM when not using autolibs
2 | class rvm::dependencies {
3 | case $::operatingsystem {
4 | 'Ubuntu','Debian': { require rvm::dependencies::ubuntu }
5 | 'CentOS','RedHat','Fedora','rhel','Amazon','Scientific': { require rvm::dependencies::centos }
6 | 'OracleLinux': { require rvm::dependencies::oraclelinux }
7 | default: {}
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/dependencies/oraclelinux.pp:
--------------------------------------------------------------------------------
1 | # Install packages needed by RVM on Oracle Linux when not using autolibs
2 | class rvm::dependencies::oraclelinux {
3 |
4 | ensure_packages(['which','gcc','gcc-c++','make','gettext-devel','expat-devel','libcurl-devel',
5 | 'zlib-devel','openssl-devel','perl','cpio','expat-devel','gettext-devel','wget','bzip2',
6 | 'libxml2','libxml2-devel','libxslt','libxslt-devel','readline-devel','patch','git'])
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/gpg.pp:
--------------------------------------------------------------------------------
1 | # RVM's GPG key security signing mechanism requires gpg2 for key import / validation
2 |
3 | class rvm::gpg($package = $rvm::params::gpg_package) inherits rvm::params {
4 | ensure_packages([$package])
5 | }
6 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/group.pp:
--------------------------------------------------------------------------------
1 | # Create the RVM group
2 | class rvm::group inherits rvm::params {
3 | ensure_resource('group', $rvm::params::group, {'ensure' => 'present' })
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/params.pp:
--------------------------------------------------------------------------------
1 | # Default module parameters
2 | class rvm::params($manage_group = true) {
3 |
4 | $group = $::operatingsystem ? {
5 | default => 'rvm',
6 | }
7 |
8 | $proxy_url = undef
9 | $no_proxy = undef
10 |
11 | $gpg_package = $::osfamily ? {
12 | /(Debian|RedHat)/ => 'gnupg2',
13 | default => undef,
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/passenger/dependencies.pp:
--------------------------------------------------------------------------------
1 | # Package dependencies for Passenger
2 | class rvm::passenger::dependencies {
3 | case $::operatingsystem {
4 | 'Ubuntu','Debian': { require rvm::passenger::dependencies::ubuntu }
5 | 'CentOS','RedHat','Fedora','rhel','Amazon','Scientific': { require rvm::passenger::dependencies::centos }
6 | 'OracleLinux': { require rvm::passenger::dependencies::oraclelinux }
7 | default: {}
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/passenger/dependencies/oraclelinux.pp:
--------------------------------------------------------------------------------
1 | # Package dependencies for Passenger on Oracle Linux
2 | class rvm::passenger::dependencies::oraclelinux {
3 | ensure_packages(['libcurl-devel'])
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/passenger/dependencies/ubuntu.pp:
--------------------------------------------------------------------------------
1 | # Package dependencies for Passenger on Ubuntu
2 | class rvm::passenger::dependencies::ubuntu {
3 | ensure_packages(['curl','libcurl4-gnutls-dev'])
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/manifests/passenger/gem.pp:
--------------------------------------------------------------------------------
1 | # Install the passenger gem
2 | class rvm::passenger::gem($ruby_version, $version, $proxy_url = undef ) {
3 | $ruby_version_only = regsubst($ruby_version,'([^@]+)(@(.+))?','\1')
4 | rvm_gem {
5 | 'passenger':
6 | ensure => $version,
7 | require => Rvm_system_ruby[$ruby_version_only],
8 | ruby_version => $ruby_version,
9 | proxy_url => $proxy_url;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/spec/defines/rvm_alias_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm_alias' do
4 |
5 | let(:title) { '2.0' }
6 | let(:params) {{ :target_ruby => '2.0-384' }}
7 |
8 | context "when using default parameters", :compile do
9 | it { should contain_rvm_alias('2.0').with_target_ruby('2.0-384') }
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/spec/defines/rvm_gem_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm_gem' do
4 |
5 | let(:title) { 'thin' }
6 | let(:params) {{ :ruby_version => '2.0' }}
7 | let(:pre_condition) { "rvm_system_ruby { '2.0': }" }
8 |
9 | context "when using default parameters", :compile do
10 | # TODO test autorequirement
11 | it { should contain_rvm_gem('thin') } #.that_requires("Rvm_system_ruby[2.0]")
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/spec/defines/rvm_system_ruby_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm_system_ruby' do
4 |
5 | let(:title) { '2.0' }
6 |
7 | context "when using default parameters", :compile do
8 | it { should contain_rvm_system_ruby('2.0') }
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/spec/defines/rvm_wrapper_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm_wrapper' do
4 |
5 | let(:title) { 'god' }
6 | let(:params) {{
7 | :target_ruby => 'ruby-1.9.3-p448',
8 | :prefix => 'bootup',
9 | :ensure => 'present'
10 | }}
11 |
12 | context "when using default parameters", :compile do
13 | it { should contain_rvm_wrapper('god').with_prefix('bootup') }
14 | end
15 | end
16 |
--------------------------------------------------------------------------------
/build-agent/modules/rvm/tests/init.pp:
--------------------------------------------------------------------------------
1 | if $::osfamily == 'RedHat' {
2 | class { 'epel':
3 | before => Class['rvm'],
4 | }
5 | }
6 |
7 | class { 'rvm': }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.20'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'librarian-puppet-maestrodev', '>=0.9.7.1'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'puppetlabs/stdlib', '>=2.3.0'
4 | mod 'maestrodev/wget', '>=0.0.1'
5 | mod 'maestrodev/maven', '>=1.0.0'
6 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/maven (1.1.9)
5 | maestrodev/wget (>= 1.0.0)
6 | maestrodev/wget (1.3.1)
7 | puppetlabs/stdlib (4.1.0)
8 |
9 | DEPENDENCIES
10 | maestrodev/maven (>= 1.0.0)
11 | maestrodev/wget (>= 0.0.1)
12 | puppetlabs/stdlib (>= 2.3.0)
13 |
14 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/manifests/move_to_home.pp:
--------------------------------------------------------------------------------
1 | # copy folders susceptible to change from installation folder to /var/local/sonar and symlink
2 | define sonar::move_to_home() {
3 | file { "${sonar::home}/${name}":
4 | ensure => directory,
5 | } ->
6 |
7 | file { "${sonar::installdir}/${name}":
8 | ensure => link,
9 | target => "${sonar::home}/${name}",
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.20'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'librarian-puppet-maestrodev', '>=0.9.8'
11 | gem 'rspec-system-puppet'
12 | gem 'rspec-system-serverspec'
13 | end
14 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-maven'
2 | version '1.1.9'
3 |
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | project_page 'http://github.com/maestrodev/puppet-maven'
7 | source 'http://github.com/maestrodev/puppet-maven'
8 | summary 'Apache Maven module for Puppet'
9 | description 'A Puppet module to download artifacts from Maven repositories'
10 | dependency 'maestrodev/wget', '>=1.0.0'
11 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'maestrodev/wget', '>=1.0.0'
4 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | maestrodev/wget (1.1.0)
5 |
6 | DEPENDENCIES
7 | maestrodev/wget (>= 1.0.0)
8 |
9 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/lib/facter/maven_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("maven_version") do
2 | setcode do
3 | version = Facter::Util::Resolution.exec('mvn --version')
4 | version.chomp.split("\n")[0].split(" ")[2] if version
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/manifests/install_gem.pp:
--------------------------------------------------------------------------------
1 | define maven::install_gem ($version = '') {
2 | exec { "gem $name $version":
3 | path => '/usr/bin:/opt/ruby/bin',
4 | environment => "JAVA_HOME=$maven::java_home",
5 | command => "gem install $name --version $version --no-rdoc --no-ri",
6 | unless => "gem query -i --name-matches $name --version $version",
7 | logoutput => true,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/defines/default-mavenrc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/defines/default-mavenrc
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/defines/default-settings.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/defines/local-repo-settings.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 | /var/cache/maven/repository
5 |
6 |
7 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/defines/populated-mavenrc:
--------------------------------------------------------------------------------
1 | export MAVEN_OPTS="-Xmx256m $MAVEN_OPTS"
2 | export PATH="/usr/local/bin:$PATH"
3 | echo Hello World!
4 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/fixtures/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | group :rake do
4 | gem 'puppet', '~>2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '~>0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | end
10 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/fixtures/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.1.0'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/fixtures/modules/wget/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 |
4 | require 'puppetlabs_spec_helper/rake_tasks'
5 |
6 | PuppetLint.configuration.send("disable_80chars")
7 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/fixtures/modules/wget/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
1 | wget::fetch { 'test':
2 | source => 'http://localhost/source',
3 | destination => '/tmp/dest',
4 | }
5 |
6 | wget::authfetch { 'authtest':
7 | source => 'http://localhost/source',
8 | destination => '/tmp/dest',
9 | user => 'myuser',
10 | password => 'mypassword',
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/fixtures/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 | require 'puppet'
3 |
4 | RSpec.configure do |c|
5 | c.mock_with :rspec
6 |
7 | c.before(:each) do
8 | Puppet::Util::Log.level = :warning
9 | Puppet::Util::Log.newdestination(:console)
10 | end
11 |
12 | end
13 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/maven/templates/mavenrc.erb:
--------------------------------------------------------------------------------
1 | <% if has_variable?("maven_opts") and @maven_opts != "" -%>
2 | export MAVEN_OPTS="<%= @maven_opts %> $MAVEN_OPTS"
3 | <% end -%>
4 | <% if has_variable?("maven_path_additions") && @maven_path_additions != "" -%>
5 | export PATH="<%= @maven_path_additions %>:$PATH"
6 | <% end -%>
7 | <% if has_variable?("mavenrc_additions") && @mavenrc_additions != "" -%>
8 | <%= @mavenrc_additions %>
9 | <% end -%>
10 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/README_SPECS.markdown:
--------------------------------------------------------------------------------
1 | NOTE
2 | ====
3 |
4 | This project's specs depend on puppet core, and thus they require the
5 | `puppetlabs_spec_helper` project. For more information please see the README
6 | in that project, which can be found here: [puppetlabs spec
7 | helper](https://github.com/puppetlabs/puppetlabs_spec_helper)
8 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/sonar/spec/fixtures/modules/stdlib/spec/fixtures/manifests/site.pp
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb:
--------------------------------------------------------------------------------
1 | require 'rspec'
2 |
3 | class Object
4 | # This is necessary because the RAL has a 'should'
5 | # method.
6 | alias :must :should
7 | alias :must_not :should_not
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require 'puppet'
4 |
5 | anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
6 |
7 | describe anchor do
8 | it "should stringify normally" do
9 | anchor.to_s.should == "Anchor[ntp::begin]"
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/tests/file_line.pp:
--------------------------------------------------------------------------------
1 | # This is a simple smoke test
2 | # of the file_line resource type.
3 | file { '/tmp/dansfile':
4 | ensure => present
5 | }->
6 | file_line { 'dans_line':
7 | line => 'dan is awesome',
8 | path => '/tmp/dansfile',
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/tests/has_ip_address.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
3 | info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
4 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/tests/has_ip_network.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
3 | info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/stdlib/tests/init.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/wget/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.5'
10 | gem 'rspec-system-puppet'
11 | gem 'rspec-system-serverspec'
12 | end
13 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.3.1'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/fixtures/modules/wget/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/sonar/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |c|
4 | c.before(:each) do
5 | Puppet::Util::Log.level = :warning
6 | Puppet::Util::Log.newdestination(:console)
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/.bundle/config:
--------------------------------------------------------------------------------
1 | ---
2 | BUNDLE_WITHOUT: development
3 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib"
4 | symlinks:
5 | ssh: "#{source_dir}"
6 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/.gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 3.3']
4 | gem 'puppet', puppetversion
5 | gem 'puppetlabs_spec_helper', '>= 0.1.0', :require => false
6 | gem 'puppet-lint', '>= 0.3.2'
7 | gem 'facter', '>= 1.7.0', "< 1.8.0"
8 |
9 | # vim:ft=ruby
10 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/Modulefile:
--------------------------------------------------------------------------------
1 | name 'saz-ssh'
2 | version '2.3.6'
3 | source 'git://github.com/saz/puppet-ssh.git'
4 | author 'saz'
5 | license 'Apache License, Version 2.0'
6 | summary 'UNKNOWN'
7 | description 'Manage SSH client and server via puppet'
8 | project_page 'https://github.com/saz/puppet-ssh'
9 |
10 | ## Add dependencies, if any:
11 | dependency 'puppetlabs/stdlib', '>= 2.2.1'
12 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/client/config.pp:
--------------------------------------------------------------------------------
1 | class ssh::client::config {
2 | file { $ssh::params::ssh_config:
3 | ensure => present,
4 | owner => 0,
5 | group => 0,
6 | content => template("${module_name}/ssh_config.erb"),
7 | require => Class['ssh::client::install'],
8 | }
9 |
10 | # Workaround for http://projects.reductivelabs.com/issues/2014
11 | file { $ssh::params::ssh_known_hosts:
12 | mode => '0644',
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/client/install.pp:
--------------------------------------------------------------------------------
1 | class ssh::client::install {
2 | if $ssh::params::client_package_name {
3 | if !defined(Package[$ssh::params::client_package_name]) {
4 | package { $ssh::params::client_package_name:
5 | ensure => $ssh::client::ensure,
6 | }
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/knownhosts.pp:
--------------------------------------------------------------------------------
1 | class ssh::knownhosts {
2 | Sshkey <<| |>> {
3 | ensure => present,
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/server/config.pp:
--------------------------------------------------------------------------------
1 | class ssh::server::config {
2 | file { $ssh::params::sshd_config:
3 | ensure => present,
4 | owner => 0,
5 | group => 0,
6 | mode => '0600',
7 | content => template("${module_name}/sshd_config.erb"),
8 | require => Class['ssh::server::install'],
9 | notify => Class['ssh::server::service'],
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/server/install.pp:
--------------------------------------------------------------------------------
1 | class ssh::server::install {
2 | include ssh::params
3 | if $ssh::params::server_package_name {
4 | if !defined(Package[$ssh::params::server_package_name]) {
5 | package { $ssh::params::server_package_name:
6 | ensure => $ssh::server::ensure,
7 | }
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/server/service.pp:
--------------------------------------------------------------------------------
1 | class ssh::server::service {
2 | include ssh::params
3 | include ssh::server
4 |
5 | service { $ssh::params::service_name:
6 | ensure => running,
7 | hasstatus => true,
8 | hasrestart => true,
9 | enable => true,
10 | require => Class['ssh::server::config'],
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/manifests/site.pp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/ssh/manifests/site.pp
--------------------------------------------------------------------------------
/build-agent/modules/ssh/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'rspec-puppet'
2 | require 'puppetlabs_spec_helper/module_spec_helper'
3 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { '::ssh::server': }
2 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh/tests/server.pp:
--------------------------------------------------------------------------------
1 | include ssh::server
2 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh_keygen/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=2.7.20'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith'
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh_keygen/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-ssh_keygen'
2 | version '1.2.0'
3 | source 'http://github.com/maestrodev/puppet-ssh_keygen.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Generate ssh keys with ssh_keygen'
7 | description 'Generate ssh keys for any user using ssh_keygen, that needs to be present before using the module'
8 | project_page 'http://github.com/maestrodev/puppet-ssh_keygen'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh_keygen/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 | require 'rake/clean'
4 |
5 | CLEAN.include('spec/fixtures/', 'doc')
6 |
7 | require 'puppetlabs_spec_helper/rake_tasks'
8 | require 'puppet_blacksmith/rake_tasks'
9 |
10 | PuppetLint.configuration.send("disable_80chars")
11 |
12 | task :default => [:clean, :spec]
13 |
--------------------------------------------------------------------------------
/build-agent/modules/ssh_keygen/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/CHANGELOG:
--------------------------------------------------------------------------------
1 | CHANGELOG
2 | =========
3 |
4 | 1.0.2
5 | -----
6 |
7 | 2012-12-03
8 |
9 | Trivial update to readme.
10 |
11 | 1.0.1
12 | -----
13 |
14 | 2012-12-03
15 |
16 | This is a backwards compatible bugfix release.
17 |
18 | * statsd init script stop action actually stops the service.
19 | * Fix module metadata
20 |
21 | 1.0.0
22 | -----
23 |
24 | 2012-11-12
25 |
26 | * Initial release
27 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :rake do
4 | gem 'puppet', '>=3.0.1'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '>=0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith', '>=1.0.1'
10 | gem 'librarian-puppet-maestrodev', '>=0.9.7.4'
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'puppetlabs/nodejs'
4 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | puppetlabs/apt (1.2.0)
5 | puppetlabs/stdlib (>= 2.2.1)
6 | puppetlabs/nodejs (0.2.1)
7 | puppetlabs/apt (>= 0.0.3)
8 | puppetlabs/stdlib (>= 2.0.0)
9 | puppetlabs/stdlib (4.1.0)
10 |
11 | DEPENDENCIES
12 | puppetlabs/nodejs (>= 0)
13 |
14 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/classes/statsd_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'statsd' do
4 |
5 | let(:facts) {{
6 | :kernel => 'Linux',
7 | :operatingsystem => 'CentOS',
8 | :operatingsystemrelease => '6.2',
9 | :osfamily => 'RedHat',
10 | :architecture => 'x86_64'
11 | }}
12 |
13 | it { should contain_service('statsd').with_ensure('running') }
14 |
15 | end
16 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/.bundle/config:
--------------------------------------------------------------------------------
1 | ---
2 | BUNDLE_WITHOUT: development
3 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4 | symlinks:
5 | "apt": "#{source_dir}"
6 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/.forge-release/validate:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Perform GitHub publish
4 | MODULES_ROOT=`pwd`
5 | cd $(dirname $0)
6 | mvn -q -s settings.xml -Dforge.modules.root="$MODULES_ROOT" compile
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/manifests/conf.pp:
--------------------------------------------------------------------------------
1 | define apt::conf (
2 | $content,
3 | $ensure = present,
4 | $priority = '50'
5 | ) {
6 |
7 | include apt::params
8 |
9 | $apt_conf_d = $apt::params::apt_conf_d
10 |
11 | file { "${apt_conf_d}/${priority}${name}":
12 | ensure => $ensure,
13 | content => $content,
14 | owner => root,
15 | group => root,
16 | mode => '0644',
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/manifests/release.pp:
--------------------------------------------------------------------------------
1 | # release.pp
2 |
3 | class apt::release (
4 | $release_id
5 | ) {
6 |
7 | include apt::params
8 |
9 | $root = $apt::params::root
10 |
11 | file { "${root}/apt.conf.d/01release":
12 | owner => root,
13 | group => root,
14 | mode => '0644',
15 | content => "APT::Default-Release \"${release_id}\";"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/manifests/update.pp:
--------------------------------------------------------------------------------
1 | class apt::update {
2 | include apt::params
3 |
4 | exec { 'apt_update':
5 | command => "${apt::params::provider} update",
6 | logoutput => 'on_failure',
7 | refreshonly => true,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/templates/source.list.erb:
--------------------------------------------------------------------------------
1 | # <%= @name %>
2 | deb <% if @architecture %>[arch=<%= @architecture %>]<% end %> <%= @location %> <%= @release_real %> <%= @repos %>
3 | <%- if @include_src then -%>
4 | deb-src <% if @architecture %>[arch=<%= @architecture %>]<% end %> <%= @location %> <%= @release_real %> <%= @repos %>
5 | <%- end -%>
6 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/builddep.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | apt::builddep{ 'glusterfs-server': }
3 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/debian/testing.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::debian::testing': }
3 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/debian/unstable.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::debian::unstable': }
3 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/force.pp:
--------------------------------------------------------------------------------
1 | # force.pp
2 | # force a package from a specific release
3 |
4 | apt::force { 'package':
5 | release => 'testing',
6 | version => false
7 | }
8 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/key.pp:
--------------------------------------------------------------------------------
1 | # Declare Apt key for apt.puppetlabs.com source
2 | apt::key { 'puppetlabs':
3 | key => '4BD6EC30',
4 | key_server => 'pgp.mit.edu',
5 | key_options => "http-proxy=\"http://proxyuser:proxypass@example.org:3128\"",
6 | }
7 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/params.pp:
--------------------------------------------------------------------------------
1 | include apt::params
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/pin.pp:
--------------------------------------------------------------------------------
1 | # pin a release in apt, useful for unstable repositories
2 | apt::pin { 'foo':
3 | packages => '*',
4 | priority => 0,
5 | }
6 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/ppa.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
3 | # Example declaration of an Apt PPA
4 | apt::ppa{ 'ppa:openstack-ppa/bleeding-edge': }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/apt/tests/release.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::release':
3 | release_id => 'karmic'
4 | }
5 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/nodejs/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/nodejs/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/nodejs/tests/init.pp:
--------------------------------------------------------------------------------
1 | include nodejs
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/nodejs/tests/npm.pp:
--------------------------------------------------------------------------------
1 | include 'nodejs'
2 |
3 | nodejs::npm { '/tmp/npm:express':
4 | ensure => present,
5 | version => '2.5.9',
6 | }
7 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/README_SPECS.markdown:
--------------------------------------------------------------------------------
1 | NOTE
2 | ====
3 |
4 | This project's specs depend on puppet core, and thus they require the
5 | `puppetlabs_spec_helper` project. For more information please see the README
6 | in that project, which can be found here: [puppetlabs spec
7 | helper](https://github.com/puppetlabs/puppetlabs_spec_helper)
8 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maestrodev/docker-images/3936d8efeab46f299374c0d6d05410711cf7a270/build-agent/modules/statsd/spec/fixtures/modules/stdlib/spec/fixtures/manifests/site.pp
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb:
--------------------------------------------------------------------------------
1 | require 'rspec'
2 |
3 | class Object
4 | # This is necessary because the RAL has a 'should'
5 | # method.
6 | alias :must :should
7 | alias :must_not :should_not
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require 'puppet'
4 |
5 | anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
6 |
7 | describe anchor do
8 | it "should stringify normally" do
9 | anchor.to_s.should == "Anchor[ntp::begin]"
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/tests/file_line.pp:
--------------------------------------------------------------------------------
1 | # This is a simple smoke test
2 | # of the file_line resource type.
3 | file { '/tmp/dansfile':
4 | ensure => present
5 | }->
6 | file_line { 'dans_line':
7 | line => 'dan is awesome',
8 | path => '/tmp/dansfile',
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/tests/has_ip_address.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
3 | info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
4 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/tests/has_ip_network.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
3 | info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/fixtures/modules/stdlib/tests/init.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |c|
4 | c.before(:all) do
5 | Puppet::Util::Log.level = :warning
6 | Puppet::Util::Log.newdestination(:console)
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/build-agent/modules/statsd/templates/statsd-defaults.erb:
--------------------------------------------------------------------------------
1 | # HEADER: This file is being managed by Puppet. Any manual changes to this file
2 | # will be overwritten.
3 |
4 | STATSJS="<%= @statsjs %>"
5 | STATSD_CONFIG="<%= @configfile %>"
6 | STATSD_LOGFILE="<%= @logfile %>"
7 | DAEMON_ARGS="$STATSJS $STATSD_CONFIG $STATSD_LOGFILE"
8 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/README_SPECS.markdown:
--------------------------------------------------------------------------------
1 | NOTE
2 | ====
3 |
4 | This project's specs depend on puppet core, and thus they require the
5 | `puppetlabs_spec_helper` project. For more information please see the README
6 | in that project, which can be found here: [puppetlabs spec
7 | helper](https://github.com/puppetlabs/puppetlabs_spec_helper)
8 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/centos-64-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - database
6 | - dashboard
7 | platform: el-6-x86_64
8 | box : centos-64-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/acceptance/unsupported_spec.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | require 'spec_helper_acceptance'
3 |
4 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
5 | it 'should fail' do
6 | pp = <<-EOS
7 | class { 'mysql::server': }
8 | EOS
9 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/unsupported osfamily/i)
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/lib/puppet_spec/verbose.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | # Support code for running stuff with warnings disabled.
3 | module Kernel
4 | def with_verbose_disabled
5 | verbose, $VERBOSE = $VERBOSE, nil
6 | result = yield
7 | $VERBOSE = verbose
8 | return result
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | require 'rspec'
3 |
4 | class Object
5 | # This is necessary because the RAL has a 'should'
6 | # method.
7 | alias :must :should
8 | alias :must_not :should_not
9 | end
10 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require 'spec_helper'
4 |
5 | anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
6 |
7 | describe anchor do
8 | it "should stringify normally" do
9 | expect(anchor.to_s).to eq("Anchor[ntp::begin]")
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/tests/file_line.pp:
--------------------------------------------------------------------------------
1 | # This is a simple smoke test
2 | # of the file_line resource type.
3 | file { '/tmp/dansfile':
4 | ensure => present
5 | }->
6 | file_line { 'dans_line':
7 | line => 'dan is awesome',
8 | path => '/tmp/dansfile',
9 | }
10 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/tests/has_ip_address.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
3 | info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
4 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/tests/has_ip_network.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
3 | info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
4 |
5 |
--------------------------------------------------------------------------------
/build-agent/modules/stdlib/tests/init.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | group :rake do
4 | gem 'puppet', '~>2.7.17'
5 | gem 'rspec-puppet', '>=0.1.3'
6 | gem 'rake', '>=0.9.2.2'
7 | gem 'puppet-lint', '~>0.1.12'
8 | gem 'puppetlabs_spec_helper'
9 | gem 'puppet-blacksmith'
10 | end
11 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-svn'
2 | version '1.1.0'
3 |
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | project_page 'http://github.com/maestrodev/puppet-svn'
7 | source 'http://github.com/maestrodev/puppet-svn'
8 | summary 'Puppet module for configuring a Subversion client'
9 | description 'Install and configure Subversion client'
10 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/manifests/init.pp:
--------------------------------------------------------------------------------
1 | class svn(
2 | $version = installed,
3 | ) {
4 | package { subversion:
5 | ensure => $version,
6 | }
7 | }
8 |
9 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/spec/classes/init_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'svn' do
4 | context "default parameters" do
5 | it { should contain_package('subversion').with_ensure('installed') }
6 | end
7 |
8 | context "with package version" do
9 | let(:params) {{
10 | :version => '1.7.0'
11 | }}
12 | it { should contain_package('subversion').with_ensure('1.7.0') }
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/templates/simpleauth.erb:
--------------------------------------------------------------------------------
1 | K 8
2 | passtype
3 | V 6
4 | simple
5 | K 8
6 | password
7 | V <%= password.length %>
8 | <%= password %>
9 | K 15
10 | svn:realmstring
11 | V <%= realmstring.length %>
12 | <%= realmstring %>
13 | K 8
14 | username
15 | V <%= username.length %>
16 | <%= username %>
17 | END
18 |
--------------------------------------------------------------------------------
/build-agent/modules/svn/templates/sslserver.erb:
--------------------------------------------------------------------------------
1 | K 10
2 | ascii_cert
3 | V <%= value.length %>
4 | <%= value %>
5 | K 8
6 | failures
7 | V 1
8 | 8
9 | K 15
10 | svn:realmstring
11 | V <%= realmstring.length %>
12 | <%= realmstring %>
13 | END
14 |
--------------------------------------------------------------------------------
/build-agent/modules/wget/Modulefile:
--------------------------------------------------------------------------------
1 | name 'maestrodev-wget'
2 | version '1.4.4'
3 | source 'http://github.com/maestrodev/puppet-wget.git'
4 | author 'maestrodev'
5 | license 'Apache License, Version 2.0'
6 | summary 'Download files with wget'
7 | description 'A module for wget that allows downloading of files, supporting authentication'
8 | project_page 'http://github.com/maestrodev/puppet-wget'
9 |
--------------------------------------------------------------------------------
/build-agent/modules/wget/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bundler'
2 | Bundler.require(:rake)
3 | require 'rake/clean'
4 |
5 | CLEAN.include('spec/fixtures/manifests/', 'spec/fixtures/modules/', 'doc', 'pkg')
6 | CLOBBER.include('.tmp', '.librarian')
7 |
8 | require 'puppetlabs_spec_helper/rake_tasks'
9 | require 'puppet_blacksmith/rake_tasks'
10 | require 'rspec-system/rake_task'
11 |
12 | task :spec_system => :clean
13 |
14 | task :default => [:clean, :spec]
15 |
--------------------------------------------------------------------------------
/build-agent/modules/zypprepo/_gitignore:
--------------------------------------------------------------------------------
1 | ## MAC OS
2 | .DS_Store
3 |
4 | ## TEXTMATE
5 | *.tmproj
6 | tmtags
7 |
8 | ## EMACS
9 | *~
10 | \#*
11 | .\#*
12 |
13 | ## VIM
14 | *.swp
15 | tags
16 |
--------------------------------------------------------------------------------
/build-agent/modules/zypprepo/manifests/init.pp:
--------------------------------------------------------------------------------
1 | # Class: zypprepo
2 | #
3 | # This module manages zypprepo
4 | #
5 | # Parameters:
6 | #
7 | # Actions:
8 | #
9 | # Requires:
10 | #
11 | # Sample Usage:
12 | #
13 | # [Remember: No empty lines between comments and class definition]
14 | class zypprepo {
15 |
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/build-agent/modules/zypprepo/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/build-agent/modules/zypprepo/tests/init.pp:
--------------------------------------------------------------------------------
1 | include zypprepo
2 |
--------------------------------------------------------------------------------
/jenkins-slave/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'https://forgeapi.puppetlabs.com'
2 |
3 | mod 'rtyler/jenkins', :git => 'https://github.com/maestrodev/puppet-jenkins', :ref => 'slave-ensure'
4 |
--------------------------------------------------------------------------------
/jenkins-slave/common.yaml:
--------------------------------------------------------------------------------
1 | # Jenkins slave
2 | #jenkins::slave::masterurl: 'http://jenkins:8080'
3 | #jenkins::slave::ui_user: 'jenkins'
4 | #jenkins::slave::ui_pass: 'jenkins'
5 | jenkins::slave::ensure: stopped
6 | jenkins::slave::enable: false
7 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/manifests/conf.pp:
--------------------------------------------------------------------------------
1 | define apt::conf (
2 | $content,
3 | $ensure = present,
4 | $priority = '50'
5 | ) {
6 |
7 | include apt::params
8 |
9 | $apt_conf_d = $apt::params::apt_conf_d
10 |
11 | file { "${apt_conf_d}/${priority}${name}":
12 | ensure => $ensure,
13 | content => $content,
14 | owner => root,
15 | group => root,
16 | mode => '0644',
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/manifests/release.pp:
--------------------------------------------------------------------------------
1 | # release.pp
2 |
3 | class apt::release (
4 | $release_id
5 | ) {
6 |
7 | include apt::params
8 |
9 | $root = $apt::params::root
10 |
11 | file { "${root}/apt.conf.d/01release":
12 | owner => root,
13 | group => root,
14 | mode => '0644',
15 | content => "APT::Default-Release \"${release_id}\";"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/manifests/update.pp:
--------------------------------------------------------------------------------
1 | class apt::update {
2 | include apt::params
3 |
4 | exec { 'apt_update':
5 | command => "${apt::params::provider} update",
6 | logoutput => 'on_failure',
7 | refreshonly => true,
8 | timeout => $apt::update_timeout,
9 | tries => $apt::update_tries,
10 | try_sleep => 1
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-70rc1-x64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-server-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 | vagrant_ssh_port_random: true
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-server-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/acceptance/unsupported_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_acceptance'
2 |
3 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
4 | it 'class apt fails' do
5 | pp = <<-EOS
6 | class { 'apt': }
7 | EOS
8 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/This module only works on Debian or derivatives like Ubuntu/i)
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/templates/source.list.erb:
--------------------------------------------------------------------------------
1 | # <%= @name %>
2 | deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
3 | <%- if @include_src then -%>
4 | deb-src <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
5 | <%- end -%>
6 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/builddep.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | apt::builddep{ 'glusterfs-server': }
3 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/debian/testing.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::debian::testing': }
3 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/debian/unstable.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::debian::unstable': }
3 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/force.pp:
--------------------------------------------------------------------------------
1 | # force.pp
2 |
3 | # force a package from a specific release
4 | apt::force { 'package1':
5 | release => 'backports',
6 | }
7 |
8 | # force a package to be a specific version
9 | apt::force { 'package2':
10 | version => '1.0.0-1',
11 | }
12 |
13 | # force a package from a specific release to be a specific version
14 | apt::force { 'package3':
15 | release => 'sid',
16 | version => '2.0.0-1',
17 | }
18 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/key.pp:
--------------------------------------------------------------------------------
1 | # Declare Apt key for apt.puppetlabs.com source
2 | apt::key { 'puppetlabs':
3 | key => '4BD6EC30',
4 | key_server => 'pgp.mit.edu',
5 | key_options => 'http-proxy="http://proxyuser:proxypass@example.org:3128"',
6 | }
7 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/params.pp:
--------------------------------------------------------------------------------
1 | include apt::params
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/pin.pp:
--------------------------------------------------------------------------------
1 | # pin a release in apt, useful for unstable repositories
2 | apt::pin { 'foo':
3 | packages => '*',
4 | priority => 0,
5 | }
6 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/ppa.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
3 | # Example declaration of an Apt PPA
4 | apt::ppa{ 'ppa:openstack-ppa/bleeding-edge': }
5 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/release.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 | class { 'apt::release':
3 | release_id => 'karmic'
4 | }
5 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/apt/tests/unattended_upgrades.pp:
--------------------------------------------------------------------------------
1 | include apt::unattended_upgrades
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/java/Gemfile:
--------------------------------------------------------------------------------
1 | source "http://rubygems.org"
2 |
3 | if ENV.key?('PUPPET_VERSION')
4 | puppetversion = "= #{ENV['PUPPET_VERSION']}"
5 | elsif ENV.key?('PUPPET_GEM_VERSION')
6 | puppetversion = ENV['PUPPET_GEM_VERSION']
7 | else
8 | puppetversion = ['~> 2.7']
9 | end
10 |
11 | gem "rake"
12 | gem "puppet", puppetversion
13 | gem "puppet-lint"
14 | gem "rspec-puppet"
15 | gem "puppetlabs_spec_helper"
16 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/java/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-java'
2 | version '1.1.1'
3 | source 'git://github.com/puppetlabs/puppetlabs-java'
4 | author 'puppetlabs'
5 | license 'Apache'
6 | summary 'Manage the official Java runtime'
7 | description 'Manage the official Java runtime'
8 | project_page 'https://github.com/puppetlabs/puppetlabs-java'
9 |
10 | dependency 'puppetlabs/stdlib', '>= 0.1.6'
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/java/README.markdown:
--------------------------------------------------------------------------------
1 | #Java
2 |
3 | Manage the Java runtime for use with other application software.
4 |
5 | Currently this deploys the correct Java package on a variety of platforms.
6 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/java/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 | require 'puppet-lint/tasks/puppet-lint'
3 |
4 | PuppetLint.configuration.send("disable_80chars")
5 | PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}"
6 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/java/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/java/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'java':
2 | distribution => 'jdk',
3 | version => 'latest',
4 | }
5 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | apt: "git://github.com/puppetlabs/puppetlabs-apt"
4 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib"
5 | java: "git://github.com/puppetlabs/puppetlabs-java"
6 | zypprepo: "git://github.com/deadpoint/puppet-zypprepo.git"
7 | symlinks:
8 | "jenkins": "#{source_dir}"
9 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/.gitignore:
--------------------------------------------------------------------------------
1 | .project
2 | .blimpy.d
3 | .vagrant
4 | pkg/*
5 | tmp/*
6 | README.pdf
7 | /test_reports
8 | .rvmrc
9 | .ruby-*
10 | *.swp
11 | spec/fixtures
12 | *.swo
13 | Gemfile.lock
14 |
15 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/.rspec:
--------------------------------------------------------------------------------
1 | --color --order random --format progress --fail-fast
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/features/support/boxes/deb/install-puppet-module.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | which puppet-module
4 |
5 | if [ $? -ne 0 ]; then
6 | gem install puppet-module --no-ri --no-rdoc
7 | fi
8 |
9 | exit 0
10 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/features/support/boxes/deb/verify-jenkins-install:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 |
4 | unless File.exists? '/etc/init.d/jenkins'
5 | puts 'Jenkins start/stop script does not exist'
6 | exit 1
7 | end
8 |
9 | unless File.exists? '/var/lib/jenkins'
10 | puts 'Jenkins home directory does not exist'
11 | exit 1
12 | end
13 |
14 | exit 0
15 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/features/support/boxes/deb/verify-plugin-install:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | if ARGV.first.nil?
4 | puts "I need a plugin name stupid"
5 | exit 1
6 | end
7 |
8 | unless File.exists? "/var/lib/jenkins/plugins/#{ARGV.first}.hpi"
9 | puts "#{ARGV.first}.hpi does not exist"
10 | exit 1
11 | end
12 |
13 | exit 0
14 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/features/support/env.rb:
--------------------------------------------------------------------------------
1 |
2 | Before do
3 | @project_root = File.expand_path(File.dirname(__FILE__) + '/../../')
4 | end
5 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/lib/facter/jenkins.rb:
--------------------------------------------------------------------------------
1 | # jenkins.rb
2 | #
3 | # Creates a fact 'jenkins_plugins' containing a comma-delimited string of all
4 | # jenkins plugins + versions.
5 | #
6 | #
7 | require 'puppet/jenkins/facts'
8 |
9 | # If we're being loaded inside the module, we'll need to go ahead and add our
10 | # facts then won't we?
11 | Puppet::Jenkins::Facts.install
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/lib/puppet/features/jpm.rb:
--------------------------------------------------------------------------------
1 | # The 'jpm' feature will help confine our custom jpm provider to only exist if
2 | # we have the `jpm` rubygem installed
3 | #
4 | # Based on:
5 |
6 | Puppet.features.add(:jpm, :libs => ['jpm'])
7 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/manifests/master.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::master
2 | #
3 | #
4 | class jenkins::master (
5 | $version = $jenkins::params::swarm_version
6 | ) inherits jenkins::params {
7 |
8 | jenkins::plugin {'swarm':
9 | version => $version ,
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/manifests/params.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::params
2 | #
3 | #
4 | class jenkins::params {
5 | $version = 'installed'
6 | $lts = false
7 | $repo = true
8 | $service_enable = true
9 | $service_ensure = 'running'
10 | $install_java = true
11 | $swarm_version = '1.9'
12 | }
13 |
14 |
15 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/manifests/plugins.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::plugins
2 | #
3 | class jenkins::plugins {
4 |
5 | if $caller_module_name != $module_name {
6 | fail("Use of private class ${name} by ${caller_module_name}")
7 | }
8 |
9 | create_resources('jenkins::plugin',$jenkins::plugin_hash)
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/manifests/proxy.pp:
--------------------------------------------------------------------------------
1 | #
2 | class jenkins::proxy {
3 |
4 | if $caller_module_name != $module_name {
5 | fail("Use of private class ${name} by ${caller_module_name}")
6 | }
7 |
8 | file { '/var/lib/jenkins/proxy.xml':
9 | content => template('jenkins/proxy.xml.erb'),
10 | owner => 'jenkins',
11 | group => 'jenkins',
12 | mode => '0644'
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/manifests/service.pp:
--------------------------------------------------------------------------------
1 | # Class: jenkins::service
2 | #
3 | class jenkins::service {
4 |
5 | if $caller_module_name != $module_name {
6 | fail("Use of private class ${name} by ${caller_module_name}")
7 | }
8 |
9 | service { 'jenkins':
10 | ensure => $jenkins::service_ensure,
11 | enable => $jenkins::service_enable,
12 | hasstatus => true,
13 | hasrestart => true,
14 | }
15 |
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/spec/classes/jenkins_master_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'jenkins::master' do
4 |
5 | let(:params) { { :version => '1.2.3' } }
6 | it { should contain_jenkins__plugin('swarm').with_version('1.2.3') }
7 |
8 | end
9 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/spec/defines/jenkins_sysconfig_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'jenkins::sysconfig' do
4 | let(:title) { 'myprop' }
5 | let(:facts) { { :osfamily => 'RedHat' } }
6 | let(:params) { { 'value' => 'myvalue' } }
7 |
8 | it { should contain_file_line('Jenkins sysconfig setting myprop') }
9 |
10 | end
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/spec/unit/jenkins_provider_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 | require 'puppet/provider/package/jpm'
3 |
4 | provider_type = Puppet::Type.type(:package).provider(:jpm)
5 |
6 | describe provider_type do
7 | end
8 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/templates/proxy.xml.erb:
--------------------------------------------------------------------------------
1 |
2 | <%= scope.lookupvar('::jenkins::proxy_host') %>
3 | <%= scope.lookupvar('::jenkins::proxy_port') %>
4 |
5 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/tests/RedHatEnterpriseServer.pp:
--------------------------------------------------------------------------------
1 | node default {
2 | include jenkins
3 |
4 | jenkins::plugin {
5 | 'ansicolor' :
6 | version => '0.3.1';
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/jenkins/tests/Ubuntu.pp:
--------------------------------------------------------------------------------
1 | node default {
2 | include jenkins
3 |
4 | jenkins::plugin {
5 | 'ansicolor' :
6 | version => '0.3.1';
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/README_SPECS.markdown:
--------------------------------------------------------------------------------
1 | NOTE
2 | ====
3 |
4 | This project's specs depend on puppet core, and thus they require the
5 | `puppetlabs_spec_helper` project. For more information please see the README
6 | in that project, which can be found here: [puppetlabs spec
7 | helper](https://github.com/puppetlabs/puppetlabs_spec_helper)
8 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/centos-64-x64-pe.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - database
6 | - dashboard
7 | platform: el-6-x86_64
8 | box : centos-64-x64-vbox4210-nocm
9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
10 | hypervisor : vagrant
11 | CONFIG:
12 | type: pe
13 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-10044-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-10.04-amd64
6 | box : ubuntu-server-10044-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-12042-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box : ubuntu-server-12042-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/acceptance/unsupported_spec.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | require 'spec_helper_acceptance'
3 |
4 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
5 | it 'should fail' do
6 | pp = <<-EOS
7 | class { 'mysql::server': }
8 | EOS
9 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/unsupported osfamily/i)
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/fixtures/dscacheutil/root:
--------------------------------------------------------------------------------
1 | name: root
2 | password: *
3 | uid: 0
4 | gid: 0
5 | dir: /var/root
6 | shell: /bin/bash
7 | gecos: rawr Root
8 |
9 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/lib/puppet_spec/verbose.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | # Support code for running stuff with warnings disabled.
3 | module Kernel
4 | def with_verbose_disabled
5 | verbose, $VERBOSE = $VERBOSE, nil
6 | result = yield
7 | $VERBOSE = verbose
8 | return result
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | require 'rspec'
3 |
4 | class Object
5 | # This is necessary because the RAL has a 'should'
6 | # method.
7 | alias :must :should
8 | alias :must_not :should_not
9 | end
10 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require 'spec_helper'
4 |
5 | anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
6 |
7 | describe anchor do
8 | it "should stringify normally" do
9 | expect(anchor.to_s).to eq("Anchor[ntp::begin]")
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/tests/file_line.pp:
--------------------------------------------------------------------------------
1 | # This is a simple smoke test
2 | # of the file_line resource type.
3 | file { '/tmp/dansfile':
4 | ensure => present
5 | }->
6 | file_line { 'dans_line':
7 | line => 'dan is awesome',
8 | path => '/tmp/dansfile',
9 | }
10 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/tests/has_ip_address.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
3 | info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
4 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/tests/has_ip_network.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 | info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
3 | info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
4 |
5 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/stdlib/tests/init.pp:
--------------------------------------------------------------------------------
1 | include stdlib
2 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/zypprepo/_gitignore:
--------------------------------------------------------------------------------
1 | ## MAC OS
2 | .DS_Store
3 |
4 | ## TEXTMATE
5 | *.tmproj
6 | tmtags
7 |
8 | ## EMACS
9 | *~
10 | \#*
11 | .\#*
12 |
13 | ## VIM
14 | *.swp
15 | tags
16 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/zypprepo/manifests/init.pp:
--------------------------------------------------------------------------------
1 | # Class: zypprepo
2 | #
3 | # This module manages zypprepo
4 | #
5 | # Parameters:
6 | #
7 | # Actions:
8 | #
9 | # Requires:
10 | #
11 | # Sample Usage:
12 | #
13 | # [Remember: No empty lines between comments and class definition]
14 | class zypprepo {
15 |
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/zypprepo/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/jenkins-slave/modules/zypprepo/tests/init.pp:
--------------------------------------------------------------------------------
1 | include zypprepo
2 |
--------------------------------------------------------------------------------
/jenkins-slave/site.pp:
--------------------------------------------------------------------------------
1 | node 'default' {
2 |
3 | package { 'wget':
4 | ensure => present
5 | } ->
6 | class { '::jenkins::slave': }
7 |
8 | }
9 |
--------------------------------------------------------------------------------