Hi,

I have following config to replace files in a directory and back them
up in filebucket. However, the files are getting backed up in
filebucket on the client (/var/lib/puppet/clientbucket) itself.

Am I missing anything here? Following is the config that I have:


# ### cat /etc/puppet/manifests/classes/filebucket.pp
class filebucketdef {
        filebucket{ main: server => "puppet"; }
}

# ### cat /etc/puppet/manifests/site.pp

import "classes/*"

        node default {
                include testdir
                include filebucketdef
        }

# ### cat /etc/puppet/manifests/classes/testdir.pp
class testdir {
        file { "test-dir":
          name => "/var/tmp/testdir",
          owner => "root",
          group => "root",
          mode => 644,
          backup => main,
          recurse => true,
          purge => true,
          source => "puppet:///puppetfiles/newtestdir";
        }
}


--
thanks,
neubyr.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to