Sunday, July 31, 2016

Starting the service multipathd



kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > puppet resource service multipathd
service { 'multipathd':
  ensure => 'stopped',
  enable => 'false',
}
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > puppet resource service multipathd > /etc/puppet/manifests/multipathd.pp
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > chkconfig --list | grep multipath
multipathd         0:off    1:off    2:off    3:off    4:off    5:off    6:off
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > cat /etc/puppet/manifests/multipathd.pp
service { 'multipathd':
  ensure => 'running',
  enable => 'true',
}
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > puppet apply /etc/puppet/manifests/multipathd.pp
Fact file /etc/puppet/modules/team_custom_facts/facts.d/README was parsed but returned an empty data set
Notice: Compiled catalog for kirandspuppet.eng.company.com in environment production in 0.10 seconds
Notice: /Stage[main]/Main/Service[multipathd]/ensure: ensure changed 'stopped' to 'running'
Notice: Finished catalog run in 0.64 seconds
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > chkconfig --list | grep multipath
multipathd         0:off    1:off    2:on    3:on    4:on    5:on    6:off
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > puppet resource service multipathd
service { 'multipathd':
  ensure => 'running',
  enable => 'true',
}
kirandspuppet: / >
kirandspuppet: / >
kirandspuppet: / > service multipathd status
multipathd (pid  42301) is running...
kirandspuppet: / >








No comments:

Post a Comment