Hello, 
 I am downloading a file from puppet master which has list of ifconfig 
command and run it using exec command on client. But it fails "change from 
notrun to 0 failed: intconfig returned 1 instead of one of [0] at". Any 
suggestion on how to overcome this error. Thanks in advance.

File content:
ifconfig eth3 up
exit 0

Puppet code:
file { $intconfigfile:
    owner => "root",
    group => "root",
    mode => "777",
    source => "puppet:///files/$intfilename",
  }

  exec {"config_uplink":
    command => $intconfigfile,
    require => File[$intconfigfile]
  }

Error:
err: returns: change from notrun to 0 failed: intconfig returned 1 instead 
of one of [0] at

Thanks,
Mani

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to