On 09/12/2010 02:51 PM, FreddieB wrote:
> Problem just keep hitting me...
>
> Can anyone see why this simple script fails:
> --------------- start ----------------
> class mysql-server {
> Package['mysql-server'] -> Service['mysql']
>
> package { mysql-server :
> name => "mysql-server",
> ensure => installed,
> }
>
> service { mysql :
> name => 'mysql-server',
> require => Package['mysql-server'],
> ensure => running,
> enable => true,
> }
> ----------- end ------------
>
Removing the name parameter from the service definition lets it work. I
understand why you set name, and it seems like you should be able to.
This seems like a bug. Setting name on the service shouldn't cause the
resource title to not work.
--
Russell A Jackson <[email protected]>
Network Analyst
California State University, Bakersfield
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.