Hi. I have a trouble that disabling automountd on Solaris10. So could you tell me what I should do to fix this trouble. [Environment] Puppetmasterd -version : 0.25.3 -OS : Solaris10 10/09 Puppetd -version : same as Puppetmasterd -OS : same as Puppetmasterd [What I did & trouble detail] 1.Edit manifest file. service { ''autofs'': ensure => ''stopped'', enable => ''false'', } 2.Run puppetrun command. puppetmasterd# puppetrun --host puppetd Triggering puppetd puppetd finished with exit code 0 Finished 3.Report file shows "Unmanageable state ''online*'' on service autofs" error, however automound is disabled as I defined in the manifest. host: puppetd logs: - !ruby/object:Puppet::Util::Log file: /etc/puppet/manifests/site.pp level: :err line: 4 message: "change from running to stopped failed: Unmanageable state ''online*'' on service autofs" source: //Service[autofs]/ensure tags: - service - autofs - class - main - ensure - err time: 2010-01-27 10:37:06.357423 +09:00 version: 1264554477 puppetd# svcs -l autofs fmri svc:/system/filesystem/autofs:default name automounter enabled false state disabled next_state none state_time Wed Jan 27 11:32:45 2010 logfile /var/svc/log/system-filesystem-autofs:default.log restarter svc:/system/svc/restarter:default contract_id dependency require_all/none svc:/system/filesystem/local (online) dependency require_all/restart svc:/milestone/name-services (online) dependency optional_all/none svc:/network/nfs/client (online) dependency require_all/restart svc:/network/rpc/bind (online) [What I want to Know] 1.What "Unmanageable state ''online*'' on service autofs" means? 2.What should I do to avoid this error. Nobuchika Tanaka -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Martin Englund
2010-Jan-27 22:34 UTC
[Puppet Users] Re: Disabling automountd on Solaris10.
Tanaka-san! On Jan 27, 3:57 am, Nobuchika Tanaka <n06uc...@gmail.com> wrote:> [What I want to Know] > 1.What "Unmanageable state ''online*'' on service autofs" means? >When svcs(1) shows an asterisk at the end of the state, it means it is in transition. What is happening is that puppet runs "svcadm disable autofs" and then checks the state before autofs has transitioned from enabled to online to offline.> 2.What should I do to avoid this error. >You can''t - you''ll have to wait for this bug to be fixed: <http://projects.reductivelabs.com/issues/3113> cheers, /Martin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nobuchika Tanaka
2010-Jan-27 23:44 UTC
[Puppet Users] Re: Disabling automountd on Solaris10.
Mr.Martin. Thank you for replying. Thanks to your answer, I understand situation of this problem. Until this issue is resolved, I will disable automountd in another way. On Jan 28, 7:34 am, Martin Englund <martin.engl...@sun.com> wrote: Nobuchika Tanaka -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.