Groups
Groups
Sign in
Groups
Groups
Puppet Users
Conversations
About
Send feedback
Help
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 PM
1/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
Manifest for an app:
class my_app {
.
.
.
file { '/etc/sysconfig/my_app/configs':
ensure => directory,
mode => 0755,
source => '
https://subversion.mycompany.com/repository/project/trunk/model-config
',
}
How would I provide user auth?
Jon Jaroker
unread,
Jan 28, 2014, 11:55:06 AM
1/28/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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