summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Bode <dan@bodepd.com>2010-03-11 22:10:09 -0600
committerDan Bode <dan@bodepd.com>2010-03-11 22:10:09 -0600
commit0b9e33433d06288dadfa9409d48f7cc0723c6d3c (patch)
tree420dc4502aceb2e09f7f72a3582b399c0e3933f7 /tests
parent9882c5ddb540ce1e36e7b72a47fe578abe79c9b4 (diff)
still developing
Diffstat (limited to 'tests')
-rw-r--r--tests/sudoers.pp37
1 files changed, 19 insertions, 18 deletions
diff --git a/tests/sudoers.pp b/tests/sudoers.pp
index ee829d1..3f40abd 100644
--- a/tests/sudoers.pp
+++ b/tests/sudoers.pp
@@ -1,21 +1,22 @@
-sudoers{'blah1':
- #target => '/tmp/sudoers',
- ensure => present,
- sudo_alias => 'Cmnd_Alias',
- items => ['blah4', 'blah2'],
- type => 'alias',
-}
-sudoers{'blah2':
+#sudoers{'blah1':
+# #target => '/tmp/sudoers',
+# ensure => present,
+# sudo_alias => 'Cmnd_Alias',
+# items => ['blah4', 'blah2'],
+# type => 'alias',
+#}
+#sudoers{'blah2':
+# #target => '/tmp/sudoers',
+# ensure => present,
+# sudo_alias => 'Host_Alias',
+# items => ['blah2', 'blah3', 'blah4'],
+# type => 'alias',
+#}
+sudoers{'blah3':
#target => '/tmp/sudoers',
ensure => present,
- sudo_alias => 'Host_Alias',
- items => ['blah2', 'blah3'],
- type => 'alias',
+ users => ['dan', 'dan2'],
+ hosts => ['localhost', 'localhost2'],
+ commands => ['true', 'false'],
+ type => 'spec',
}
-#sudoers{'blah3':
-# target => '/tmp/sudoers',
-# ensure => present,
-# users => 'dan',
-# hosts => 'localhost',
-# type => 'spec',
-#}