From 3700b37e2386e7dbaabd90b7ba13c3dce06203d2 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 17 Jan 2006 07:11:50 +0000 Subject: Adding an "ensure" state where appropriate, and significantly reworking the builtin docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@832 980ebf18-57e1-0310-9a29-db15c13687c0 --- examples/code/snippets/dirchmod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/code/snippets/dirchmod') diff --git a/examples/code/snippets/dirchmod b/examples/code/snippets/dirchmod index 0a8268fa8..dc2cc8949 100644 --- a/examples/code/snippets/dirchmod +++ b/examples/code/snippets/dirchmod @@ -1,8 +1,8 @@ # $Id$ file { - "/tmp/dirchmodtesta": create => directory; - "/tmp/dirchmodtesta/testing": create => true + "/tmp/dirchmodtesta": ensure => directory; + "/tmp/dirchmodtesta/testing": ensure => file } file { "/tmp/dirchmodtesta": @@ -10,8 +10,8 @@ file { "/tmp/dirchmodtesta": } file { - "/tmp/dirchmodtestb": create => directory; - "/tmp/dirchmodtestb/testing": create => true + "/tmp/dirchmodtestb": ensure => directory; + "/tmp/dirchmodtestb/testing": ensure => file } file { "/tmp/dirchmodtestb": -- cgit