So a followup to the original question.
As a test we created a simple module on the node which is failing when
puppet agent executes. Running puppet apply, the parameter quick_check is
found and the module completes successfully. So why would puppet apply
work and not puppet agent?
Code:
class testmod()
{
httpfile { "ansible-2.8.0a1.tar.gz":
ensure => present,
path => "/u01/testmod/ansible-2.8.0a1.tar.gz",
source => "
https://mynexus.domain.com/nexus/repository/ae-raw-ansible-group/ansible/ansible-2.8.0a1.tar.gz
<https://nexus.aetna.com/nexus/repository/ae-raw-ansible-group/ansible/ansible-2.8.0a1.tar.gz>
",
quick_check => true,
# hash => 'hex form SHA2 hash OR an URL to the .sha file with that
hash'
}
}
Here is my run:
[root@node testmod]# puppet apply --modulepath=/home/toor --test -e
"include testmod" --verbose
On Tuesday, August 25, 2020 at 12:38:05 PM UTC-4 [email protected] wrote:
> Dirk, why wouldn't puppet just do this automatically when a module
> changes? Is there a bug somewhere?
>
> On Tuesday, August 25, 2020 at 2:43:03 AM UTC-4 Dirk Heinrichs wrote:
>
>> Am Montag, den 24.08.2020, 11:06 -0700 schrieb [email protected]:
>>
>> Justin, I implemented the suggestion you made however after running the
>> curl command against the 2 environments having the issue and receiving the
>> 204 response, the puppet module is still getting the 500 error. Do you or
>> anyone else have any other suggestions? Is it possible it's related to
>> ruby and/or java? Frankly I'm stumped.
>>
>>
>> Didn't see this earlier, sorry.
>>
>> The "no parameter named 'xxx'" error can usually be resolved by
>> recreating the metadata for your Puppet environment(s). This can be done on
>> the Puppet master using the following command (for the production
>> environment):
>>
>> /opt/puppetlabs/bin/puppet generate types --environment production --force
>>
>> I've added this command to my environment update script after running
>> into this problem myself a few months ago after updating some external
>> modules from the forge.
>>
>> See https://puppet.com/docs/puppet/5.5/environment_isolation.html for
>> the details.
>>
>> HTH...
>>
>> Dirk
>>
>> --
>>
>> *Dirk Heinrichs*
>> Senior Systems Engineer, Delivery Pipeline
>> OpenText ™ Discovery | Recommind
>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>> *Email*: [email protected]
>> *Website*: www.recommind.de
>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended recipient (or have received this e-mail in error)
>> please notify the sender immediately and destroy this e-mail. Any
>> unauthorized copying, disclosure or distribution of the material in this
>> e-mail is strictly forbidden
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>> Weitergabe dieser Mail sind nicht gestattet.
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/80022945-ecdc-43ef-b857-ca2813c37919n%40googlegroups.com.