What is the convention used if I want to pull content from source-control for populating a manifest resource?

26 views
Skip to first unread message

Mark Jaffe

unread,
Jan 27, 2014, 1:45:30 PM1/27/14
to puppet...@googlegroups.com
Manifest for an app:

class my_app {
.
.
.

   file { '/etc/sysconfig/my_app/configs':
        ensure =>  directory,
        mode  =>   0755,
}

How would I provide user auth?

Jon Jaroker

unread,
Jan 28, 2014, 11:55:06 AM1/28/14
to puppet...@googlegroups.com
The URI scheme for 'source' is either 'puppet' or 'file'.  Here is the man page:

http://docs.puppetlabs.com/references/latest/type.html#file-attribute-source

To pull from a repository, you should use a subversion manifest that implements checkout.  

Jon
Reply all
Reply to author
Forward
0 new messages