Friday, July 28, 2017

Ansible passwordstore

An unhandled exception occurred while running the lookup plugin 'passwordstore'.

yum nstall pass; will fix issue

Wednesday, July 26, 2017

Puppet facter variable

How to collect Puppet agent information and copy to file either localhost or remotely

file {'collect_facts':
  ensure  => file,
  path    => "/tmp/${fqdn}",
  mode    => 0644,
  content => "IP is ${ipaddress}\nhostname is ${fqdn}\n",
}


you can find file underneath /tmp/fqn-name