define variables in puppet manifests from text file
279 views
Skip to first unread message
Ankita kumari
unread,
Jun 23, 2014, 7:04:30 AM6/23/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
Hi,
I want to pass the variables in puppet manifests from text file. The text file contains a list of values in different lines. I want to pass these values to the variables defined in the manifest.
Thanks & regards, Ankita
Henrik Lindberg
unread,
Jun 23, 2014, 12:51:02 PM6/23/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
On 2014-23-06 9:04, Ankita kumari wrote:
> Hi,
>
> I want to pass the variables in puppet manifests from text file. The
> text file contains a list of values in different lines. I want to pass
> these values to the variables defined in the manifest.
>
.pp files are text files ;-)
In older puppet versions you can simply import that .pp file, in newer
versions you can use the directory based manifest support and simply add
the .pp file in the directory from which all "site" manifests are loaded.