diff --git a/.svn/all-wcprops b/.svn/all-wcprops new file mode 100644 index 0000000..f0acc37 --- /dev/null +++ b/.svn/all-wcprops @@ -0,0 +1,17 @@ +K 25 +svn:wc:ra_dav:version-url +V 55 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct +END +Modulefile +K 25 +svn:wc:ra_dav:version-url +V 66 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/Modulefile +END +README +K 25 +svn:wc:ra_dav:version-url +V 62 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/README +END diff --git a/.svn/entries b/.svn/entries new file mode 100644 index 0000000..2325dda --- /dev/null +++ b/.svn/entries @@ -0,0 +1,105 @@ +10 + +dir +927 +https://ssgsvn.herffjones.hj-int/repos/puppet/releases/prod/modules/psacct +https://ssgsvn.herffjones.hj-int/repos/puppet + + + +2013-07-31T18:33:10.816588Z +603 +arboeglin + + + + + + + + + + + + + + +49f58e6b-c092-4bf3-a5ec-a47c314e1dd7 + +tests +dir + +Modulefile +file + + + + +2014-01-28T21:26:58.709692Z +197dff0814cbd9b82209b217504b94e8 +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + + + + + + + + +237 + +manifests +dir + +spec +dir + +README +file + + + + +2014-01-28T21:26:58.709692Z +e38653947613871f793acb96bc7a54de +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + + + + + + + + +171 + diff --git a/.svn/text-base/Modulefile.svn-base b/.svn/text-base/Modulefile.svn-base new file mode 100644 index 0000000..f12073d --- /dev/null +++ b/.svn/text-base/Modulefile.svn-base @@ -0,0 +1,11 @@ +name 'hj-psacct' +version '0.1.0' +source 'UNKNOWN' +author 'hj' +license 'Apache License, Version 2.0' +summary 'UNKNOWN' +description 'UNKNOWN' +project_page 'UNKNOWN' + +## Add dependencies, if any: +# dependency 'username/name', '>= 1.2.0' diff --git a/.svn/text-base/README.svn-base b/.svn/text-base/README.svn-base new file mode 100644 index 0000000..3738f0f --- /dev/null +++ b/.svn/text-base/README.svn-base @@ -0,0 +1,16 @@ +psacct + +This is the psacct module. + +License +------- + + +Contact +------- + + +Support +------- + +Please log tickets and issues at our [Projects site](http://projects.example.com) diff --git a/Modulefile b/Modulefile new file mode 100644 index 0000000..f12073d --- /dev/null +++ b/Modulefile @@ -0,0 +1,11 @@ +name 'hj-psacct' +version '0.1.0' +source 'UNKNOWN' +author 'hj' +license 'Apache License, Version 2.0' +summary 'UNKNOWN' +description 'UNKNOWN' +project_page 'UNKNOWN' + +## Add dependencies, if any: +# dependency 'username/name', '>= 1.2.0' diff --git a/README b/README new file mode 100644 index 0000000..3738f0f --- /dev/null +++ b/README @@ -0,0 +1,16 @@ +psacct + +This is the psacct module. + +License +------- + + +Contact +------- + + +Support +------- + +Please log tickets and issues at our [Projects site](http://projects.example.com) diff --git a/manifests/.svn/all-wcprops b/manifests/.svn/all-wcprops new file mode 100644 index 0000000..6d3076c --- /dev/null +++ b/manifests/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 65 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/manifests +END +init.pp +K 25 +svn:wc:ra_dav:version-url +V 73 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/manifests/init.pp +END diff --git a/manifests/.svn/entries b/manifests/.svn/entries new file mode 100644 index 0000000..058ec5e --- /dev/null +++ b/manifests/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +927 +https://ssgsvn.herffjones.hj-int/repos/puppet/releases/prod/modules/psacct/manifests +https://ssgsvn.herffjones.hj-int/repos/puppet + + + +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + +49f58e6b-c092-4bf3-a5ec-a47c314e1dd7 + +init.pp +file + + + + +2014-01-28T21:26:58.704693Z +ae4dfa883e6a6d2b81d7e8b9a0769f5e +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + + + + + + + + +226 + diff --git a/manifests/.svn/text-base/init.pp.svn-base b/manifests/.svn/text-base/init.pp.svn-base new file mode 100644 index 0000000..733e1dc --- /dev/null +++ b/manifests/.svn/text-base/init.pp.svn-base @@ -0,0 +1,18 @@ +# == Class: psacct +# +# The psacct package and service +# +class psacct { + + package { 'psacct': + ensure => installed, + } + + service { 'psacct': + ensure => running, + enable => true, + hasstatus => true, + } + + +} diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..733e1dc --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,18 @@ +# == Class: psacct +# +# The psacct package and service +# +class psacct { + + package { 'psacct': + ensure => installed, + } + + service { 'psacct': + ensure => running, + enable => true, + hasstatus => true, + } + + +} diff --git a/spec/.svn/all-wcprops b/spec/.svn/all-wcprops new file mode 100644 index 0000000..c594778 --- /dev/null +++ b/spec/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 60 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/spec +END +spec_helper.rb +K 25 +svn:wc:ra_dav:version-url +V 75 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/spec/spec_helper.rb +END diff --git a/spec/.svn/entries b/spec/.svn/entries new file mode 100644 index 0000000..c650137 --- /dev/null +++ b/spec/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +927 +https://ssgsvn.herffjones.hj-int/repos/puppet/releases/prod/modules/psacct/spec +https://ssgsvn.herffjones.hj-int/repos/puppet + + + +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + +49f58e6b-c092-4bf3-a5ec-a47c314e1dd7 + +spec_helper.rb +file + + + + +2014-01-28T21:26:58.707693Z +a55d1e6483344f8ec6963fcb2c220372 +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + + + + + + + + +400 + diff --git a/spec/.svn/text-base/spec_helper.rb.svn-base b/spec/.svn/text-base/spec_helper.rb.svn-base new file mode 100644 index 0000000..5fda588 --- /dev/null +++ b/spec/.svn/text-base/spec_helper.rb.svn-base @@ -0,0 +1,17 @@ +dir = File.expand_path(File.dirname(__FILE__)) +$LOAD_PATH.unshift File.join(dir, 'lib') + +require 'mocha' +require 'puppet' +require 'rspec' +require 'spec/autorun' + +Spec::Runner.configure do |config| + config.mock_with :mocha +end + +# We need this because the RAL uses 'should' as a method. This +# allows us the same behaviour but with a different method name. +class Object + alias :must :should +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..5fda588 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,17 @@ +dir = File.expand_path(File.dirname(__FILE__)) +$LOAD_PATH.unshift File.join(dir, 'lib') + +require 'mocha' +require 'puppet' +require 'rspec' +require 'spec/autorun' + +Spec::Runner.configure do |config| + config.mock_with :mocha +end + +# We need this because the RAL uses 'should' as a method. This +# allows us the same behaviour but with a different method name. +class Object + alias :must :should +end diff --git a/tests/.svn/all-wcprops b/tests/.svn/all-wcprops new file mode 100644 index 0000000..126cff5 --- /dev/null +++ b/tests/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 61 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/tests +END +init.pp +K 25 +svn:wc:ra_dav:version-url +V 69 +/repos/puppet/!svn/ver/735/releases/prod/modules/psacct/tests/init.pp +END diff --git a/tests/.svn/entries b/tests/.svn/entries new file mode 100644 index 0000000..79c25e8 --- /dev/null +++ b/tests/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +927 +https://ssgsvn.herffjones.hj-int/repos/puppet/releases/prod/modules/psacct/tests +https://ssgsvn.herffjones.hj-int/repos/puppet + + + +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + +49f58e6b-c092-4bf3-a5ec-a47c314e1dd7 + +init.pp +file + + + + +2014-01-28T21:26:58.700693Z +cffdb844e9ed8e230e579388c57a0842 +2013-07-31T18:32:21.059123Z +602 +appsvn + + + + + + + + + + + + + + + + + + + + + +506 + diff --git a/tests/.svn/text-base/init.pp.svn-base b/tests/.svn/text-base/init.pp.svn-base new file mode 100644 index 0000000..8603c9a --- /dev/null +++ b/tests/.svn/text-base/init.pp.svn-base @@ -0,0 +1,11 @@ +# The baseline for module testing used by Puppet Labs is that each manifest +# should have a corresponding test manifest that declares that class or defined +# type. +# +# Tests are then run by using puppet apply --noop (to check for compilation errors +# and view a log of events) or by fully applying the test in a virtual environment +# (to compare the resulting system state to the desired state). +# +# Learn more about module testing here: http://docs.puppetlabs.com/guides/tests_smoke.html +# +include psacct diff --git a/tests/init.pp b/tests/init.pp new file mode 100644 index 0000000..8603c9a --- /dev/null +++ b/tests/init.pp @@ -0,0 +1,11 @@ +# The baseline for module testing used by Puppet Labs is that each manifest +# should have a corresponding test manifest that declares that class or defined +# type. +# +# Tests are then run by using puppet apply --noop (to check for compilation errors +# and view a log of events) or by fully applying the test in a virtual environment +# (to compare the resulting system state to the desired state). +# +# Learn more about module testing here: http://docs.puppetlabs.com/guides/tests_smoke.html +# +include psacct