diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-09-20 14:50:39 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-09-20 14:50:39 +0200 |
commit | 6162b571d3dea04957ba6712a4191b83c8fb2c89 (patch) | |
tree | b77e271107d885984ba2ec394c908ca5519f7558 /code/environments/production/modules/stdlib/spec/fixtures | |
parent | 3f1bbf87bbcc3daa15cd7391b2949b5bf742781b (diff) | |
download | puppet.FWSECK-6162b571d3dea04957ba6712a4191b83c8fb2c89.tar.gz puppet.FWSECK-6162b571d3dea04957ba6712a4191b83c8fb2c89.tar.bz2 puppet.FWSECK-6162b571d3dea04957ba6712a4191b83c8fb2c89.zip |
Bundles puppetlabs-stdlib 4.25.1.
Diffstat (limited to 'code/environments/production/modules/stdlib/spec/fixtures')
6 files changed, 30 insertions, 0 deletions
diff --git a/code/environments/production/modules/stdlib/spec/fixtures/dscacheutil/root b/code/environments/production/modules/stdlib/spec/fixtures/dscacheutil/root new file mode 100644 index 0000000..1e34519 --- /dev/null +++ b/code/environments/production/modules/stdlib/spec/fixtures/dscacheutil/root @@ -0,0 +1,8 @@ +name: root +password: * +uid: 0 +gid: 0 +dir: /var/root +shell: /bin/bash +gecos: rawr Root + diff --git a/code/environments/production/modules/stdlib/spec/fixtures/lsuser/root b/code/environments/production/modules/stdlib/spec/fixtures/lsuser/root new file mode 100644 index 0000000..afd59ca --- /dev/null +++ b/code/environments/production/modules/stdlib/spec/fixtures/lsuser/root @@ -0,0 +1,2 @@ +#name:home +root:/root diff --git a/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/base32.pp b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/base32.pp new file mode 100644 index 0000000..5918633 --- /dev/null +++ b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/base32.pp @@ -0,0 +1,6 @@ +# Class to test the Stdlib::Base32 type alias +class test::base32 ( + Stdlib::Base32 $value, + ) { + notice('Success') +} diff --git a/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/base64.pp b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/base64.pp new file mode 100644 index 0000000..d9e98d9 --- /dev/null +++ b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/base64.pp @@ -0,0 +1,6 @@ +# Class to test the Stdlib::Base64 type alias +class test::base64 ( + Stdlib::Base64 $value, + ) { + notice('Success') +} diff --git a/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/deftype.pp b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/deftype.pp new file mode 100644 index 0000000..362d155 --- /dev/null +++ b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/deftype.pp @@ -0,0 +1,4 @@ +# Class to test deftype +define test::deftype( $param = 'foo' ) { + notify { "deftype: ${title}": } +} diff --git a/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/ensure_resources.pp b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/ensure_resources.pp new file mode 100644 index 0000000..5f444c0 --- /dev/null +++ b/code/environments/production/modules/stdlib/spec/fixtures/test/manifests/ensure_resources.pp @@ -0,0 +1,4 @@ +# A helper class to test the ensure_resources function +class test::ensure_resources( $resource_type, $title_hash, $attributes_hash ) { + ensure_resources($resource_type, $title_hash, $attributes_hash) +} |