Permalink
Browse files

References to Anchor changed to Class, to avoid stdlib dependency

  • Loading branch information...
1 parent 73744db commit 5e15b31254083977bfacd5db1650bb514d35d6a9 @alvagante alvagante committed Apr 10, 2012
View
@@ -41,6 +41,6 @@
tag => 'puppi_check',
}
- Puppi::Check[$name] -> Anchor['puppi::is_installed']
+ Puppi::Check[$name] -> Class['puppi::is_installed']
}
View
@@ -46,6 +46,6 @@
hostwide => 'yes' ,
}
- Class['puppi::checks'] -> Anchor['puppi::is_installed']
+ Class['puppi::checks'] -> Class['puppi::is_installed']
}
View
@@ -36,7 +36,7 @@
tag => 'puppi_deploy',
}
- Puppi::Deploy[$name] -> Anchor['puppi::is_installed']
+ Puppi::Deploy[$name] -> Class['puppi::is_installed']
}
View
@@ -26,6 +26,6 @@
content => template($template),
}
- Puppi::Helper[$name] -> Anchor['puppi::is_installed']
+ Puppi::Helper[$name] -> Class['puppi::is_installed']
}
View
@@ -13,6 +13,6 @@
template => 'puppi/helpers/standard.yaml.erb',
}
- Class['puppi::helpers'] -> Anchor['puppi::is_installed']
+ Class['puppi::helpers'] -> Class['puppi::is_installed']
}
View
@@ -35,6 +35,6 @@
tag => 'puppi_info',
}
- Puppi::Info[$name] -> Anchor['puppi::is_installed']
+ Puppi::Info[$name] -> Class['puppi::is_installed']
}
@@ -30,6 +30,6 @@
tag => 'puppi_info',
}
- Puppi::Info::Instance[$name] -> Anchor['puppi::is_installed']
+ Puppi::Info::Instance[$name] -> Class['puppi::is_installed']
}
View
@@ -56,6 +56,6 @@
tag => 'puppi_info',
}
- Puppi::Info::Module[$name] -> Anchor['puppi::is_installed']
+ Puppi::Info::Module[$name] -> Class['puppi::is_installed']
}
View
@@ -62,6 +62,6 @@
}
}
- Puppi::Info::Readme[$name] -> Anchor['puppi::is_installed']
+ Puppi::Info::Readme[$name] -> Class['puppi::is_installed']
}
View
@@ -66,6 +66,6 @@
# run => "ls -lR ${puppi::params::logdir}/puppi-data/",
}
- Class['puppi::infos'] -> Anchor['puppi::is_installed']
+ Class['puppi::infos'] -> Class['puppi::is_installed']
}
View
@@ -18,7 +18,7 @@
owner => $puppi::params::configfile_owner,
group => $puppi::params::configfile_group,
content => template('puppi/puppi.conf.erb'),
- before => Anchor['puppi::is_installed'],
+ before => Class['puppi::is_installed'],
require => File['puppi_basedir'],
}
@@ -30,7 +30,7 @@
owner => $puppi::params::configfile_owner,
group => $puppi::params::configfile_group,
content => template('puppi/puppi.erb'),
- before => Anchor['puppi::is_installed'],
+ before => Class['puppi::is_installed'],
require => File['puppi_basedir'],
}
@@ -45,7 +45,7 @@
recurse => true,
# purge => true,
ignore => '.svn',
- before => Anchor['puppi::is_installed'],
+ before => Class['puppi::is_installed'],
require => File['puppi_basedir'],
}
@@ -63,7 +63,7 @@
# Include prerequisits
include puppi::prerequisites
- # This will create the Anchor['puppi::is_installed']
+ # This will create the Class['puppi::is_installed']
# which marks the point where all Puppi files are installed
# and before Puppi::Run
include puppi::is_installed
View
@@ -34,6 +34,6 @@
tag => 'puppi_initialize',
}
- Puppi::Initialize[$name] -> Anchor['puppi::is_installed']
+ Puppi::Initialize[$name] -> Class['puppi::is_installed']
}
@@ -1,5 +1,3 @@
class puppi::is_installed {
- anchor { 'puppi::is_installed': }
-
}
View
@@ -28,6 +28,6 @@
tag => 'puppi_log',
}
- Puppi::Log[$name] -> Anchor['puppi::is_installed']
+ Puppi::Log[$name] -> Class['puppi::is_installed']
}
View
@@ -68,7 +68,7 @@
}
- Class['puppi::logs'] -> Anchor['puppi::is_installed']
+ Class['puppi::logs'] -> Class['puppi::is_installed']
}
@@ -56,6 +56,6 @@
source => 'puppet:///modules/puppi/mcollective/puppideploy',
}
- Class['puppi::mcollective::client'] -> Anchor['puppi::is_installed']
+ Class['puppi::mcollective::client'] -> Class['puppi::is_installed']
}
@@ -29,6 +29,6 @@
source => 'puppet:///modules/puppi/mcollective/puppi.rb',
}
- Class['puppi::mcollective::server'] -> Anchor['puppi::is_installed']
+ Class['puppi::mcollective::server'] -> Class['puppi::is_installed']
}
View
@@ -133,7 +133,7 @@
}
}
- Puppi::Netinstall[$name] -> Anchor['puppi::is_installed']
+ Puppi::Netinstall[$name] -> Class['puppi::is_installed']
}
View
@@ -95,6 +95,6 @@
default: { $general_base_source=$::base_source }
}
- Class['puppi::params'] -> Anchor['puppi::is_installed']
+ Class['puppi::params'] -> Class['puppi::is_installed']
}
@@ -24,6 +24,6 @@
# include nagios::plugins
# include mailx
- Class['puppi::prerequisites'] -> Anchor['puppi::is_installed']
+ Class['puppi::prerequisites'] -> Class['puppi::is_installed']
}
View
@@ -91,6 +91,6 @@
require => File["${puppi::params::projectsdir}/${name}"];
}
- Puppi::Project[$name] -> Anchor['puppi::is_installed']
+ Puppi::Project[$name] -> Class['puppi::is_installed']
}
View
@@ -35,6 +35,6 @@
tag => 'puppi_report',
}
- Puppi::Report[$name] -> Anchor['puppi::is_installed']
+ Puppi::Report[$name] -> Class['puppi::is_installed']
}
View
@@ -33,7 +33,7 @@
tag => 'puppi_rollback',
}
- Puppi::Rollback[$name] -> Anchor['puppi::is_installed']
+ Puppi::Rollback[$name] -> Class['puppi::is_installed']
}
View
@@ -23,7 +23,7 @@
command => "puppi deploy ${name} && touch ${puppi::params::archivedir}/puppirun_${name}",
path => '/bin:/sbin:/usr/sbin:/usr/bin',
creates => "${puppi::params::archivedir}/puppirun_${name}",
- require => Anchor['puppi::is_installed'],
+ require => Class['puppi::is_installed'],
}
}
View
@@ -150,6 +150,6 @@
source => 'puppet:///modules/puppi/mailpuppicheck',
}
- Class['puppi::skel'] -> Anchor['puppi::is_installed']
+ Class['puppi::skel'] -> Class['puppi::is_installed']
}
View
@@ -46,6 +46,6 @@
tag => 'puppi_todo',
}
- Puppi::Todo[$name] -> Anchor['puppi::is_installed']
+ Puppi::Todo[$name] -> Class['puppi::is_installed']
}
View
@@ -26,6 +26,6 @@
content => inline_template('<%= variables.to_yaml %>'),
}
- Puppi::Ze[$name] -> Anchor['puppi::is_installed']
+ Puppi::Ze[$name] -> Class['puppi::is_installed']
}

0 comments on commit 5e15b31

Please sign in to comment.