Displaying 1 result from an estimated 1 matches for "manifest_dir".
2007 Oct 29
0
ENC a simple example
...9;'m currently working on from an external nodes perspective as a simple
example. Then let everyone tear into it... :)
I have a very basic external_nodes script:
--start--
#!/usr/bin/perl
use strict;
use warnings;
use YAML qw( Dump LoadFile );
my $vardir = ''/etc/puppet'';
my $manifest_dir = "$vardir/manifests/nodes";
my $hostname = shift || die "No hostname passed";
# initialize
my $params;
# build parameters based on files
$params = build_yaml("$hostname/init.yaml") or exit 0;
# always add the default class
# we add them to the front
unshift @{$param...