Using lvicainne-bashrc -

14 views
Skip to first unread message

sysa...@truhearing.com

unread,
Feb 20, 2019, 4:34:07 PM2/20/19
to Puppet Users
All,


I'm not sure if this is the correct venue for this question, but...

I have a puppetserver v. puppet5-release-5.0.0-4.el7.noarch on Centos7.  I manage several environments and was able to install and manage to get working lvicainne-bashrc (to 'push' out .bashrc files) in our TEST environment.  Thinking I had it made - I attached the module to one of our production environments in the exact same manner as I did with the test environment.

None of the servers in the production environment picked up the new bashrc files.  It's as if I had done nothing at all to the production environment.  I checked /opt/puppetlavs/server/data/puppetserver/reports/{servername} and there is no mention of "bash" or "bashrc" in any of the reports (except for the one server in the test environment).  Is there anywhere else I can look to determine if there is an error?  I've looked at other logs, but to no avail.

Here's my puppet module list:

[root@puppetserver reports]# puppet module list --tree
/etc/puppetlabs/code/environments/production/modules
├─┬ puppetlabs-accounts (v3.0.0)
│ ├── puppetlabs-translate (v1.1.0)
│ └── puppetlabs-stdlib (v4.24.0)
├── accounts1 (???)
├── production (???)
├── accounts2 (???)
└─┬ puppetlabs-postgresql (v5.3.0)
  ├── puppetlabs-apt (v4.5.1)
  └── puppetlabs-concat (v4.2.0)
/etc/puppetlabs/code/modules
├─┬ puppetlabs-accounts (v1.3.0)
│ └── puppetlabs-stdlib (v4.24.0) [/etc/puppetlabs/code/environments/production/modules]
├─┬ lvicainne-bashrc (v0.0.7)
│ └── puppetlabs-concat (v4.2.0) [/etc/puppetlabs/code/environments/production/modules]
├── accounts1(???)
├── opsaccounts2(???)
├── production (???)
├── accounts3 (???)
├── opsaccounts (???)
├── stdlib (???)
├── accounts4 (???)
└── puppetlabs-apt (v4.5.1)
/opt/puppetlabs/puppet/modules
├── accounts (???)
├── accounts1 (???)
├── accounts2 (???)
└── stdlib (???)

You can see the ones that were created by hand have (???) for the version number.  I understand that - why is stdlib showing a (???).  Is that possibly related to my issue?

FYI - lvicainne-bashrc have a dependency of stdlib and concat.


Thanks in advance.

Ben Ford

unread,
Feb 21, 2019, 12:22:34 AM2/21/19
to puppet...@googlegroups.com
You don't explain how you classified your nodes. Creating modules just makes the classes, they don't have any effect until you actually use them via classifying nodes. See https://puppet.com/docs/puppet/latest/lang_classes.html#declaring-classes for more information.

You asked why the stdlib module said (???). See how it doesn't say puppetlabs-stdlib either?  That means that it's not http://forge.puppet.com/puppetlabs/stdlib. I don't know what it is, but it's not that :)



--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c0d7a6b1-da12-43d0-afa1-247cfa8a32d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages