puppetlabs / puppetlabs-node_manager

Create and manage PE node groups as resources.
Apache License 2.0
10 stars 21 forks source link

Failure to apply node_group via Bolt #42

Closed kreeuwijk closed 5 years ago

kreeuwijk commented 5 years ago

When using Puppet Bolt to apply a node_group to a PE master, the module is looking in the wrong place for the classifier.yaml. The error is Failed to apply catalog: Could not find file /tmp/d20181217-32970-1e9axsa/conf/classifier.yaml

The following code was applied with Bolt:

node_group { 'Workshop':
  ensure               => 'present',
  classes              => {
    'role::workshop' => {},
  },
  environment          => 'production',
  override_environment => 'false',
  parent               => 'All Nodes',
  rule                 => ['or',
    ['=', 'name', 'master.inf.puppet.vm']
  ],
}

The above code was saved as workshop_nodegroups.pp and applied with Bolt like this: bolt apply ./workshop_nodegroups.pp --nodes <pe_master> [connection settings]

cdenneen commented 2 months ago

@kreeuwijk how did you solve this?