Hello I hit a similar issue but took a hackish way out. I now have a script convert my yaml to a file full of virtual resources. Its a bit yuck but compile time is much better.
Neil On 3 Sep 2014 21:07, "Trevor Vaughan" <[email protected]> wrote: > Honestly, if you have a large number of accounts, I would go with LDAP. > Redundancy isn't an issue and it does everything that you want it to. > > Trevor > > > On Wed, Sep 3, 2014 at 3:23 PM, Terrence Martin <[email protected]> wrote: > >> Hi, >> >> I have a large Hiera file that I want to use for a module that creates >> accounts on my systems. The module is >> https://forge.puppetlabs.com/torrancew/account >> >> In any case the issue is I get an error >> >> Error: Could not retrieve catalog from remote server: execution expired >> Warning: Not using cache on failed catalog >> Error: Could not retrieve catalog; skipping run >> Error: Could not run Puppet configuration client: execution expired >> >> It seems there is a timeout caused by the size of the Heira file. Presumably >> >> this is due to all of the accounts I have placed in my hiera.yaml file. >> >> My question is whether or not it is possible to configure puppet to >> extend the time for compilation to take these large hiera files into >> account, or if there are any suggestions on how to improve things to >> increase the time to compile the yaml file? >> >> At the end of the day I do not really need the accounts as much as I >> just need the usernames on these systems due to the storage system we >> use. I do not want to have a central user management system as that >> creates a single point of failure. So that means I could in fact just >> have puppet manage a static file that adds to the /etc/passwd file. >> >> >> However I would prefer to maintain consistency >> >> >> Any suggestions on how best to approach this in puppet is of course >> appreciated. :) >> >> Terrence >> >> >> >> >> -- >> 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/8b432b54-ab14-4142-801b-65a6183790d9%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/8b432b54-ab14-4142-801b-65a6183790d9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Trevor Vaughan > Vice President, Onyx Point, Inc > (410) 541-6699 > [email protected] > > -- This account not approved for unencrypted proprietary information -- > > -- > 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/CANs%2BFoUsL7s7aoPaeN0r7GC_XzhYnJGvkSM82zry6xRYKgFu7w%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CANs%2BFoUsL7s7aoPaeN0r7GC_XzhYnJGvkSM82zry6xRYKgFu7w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAAohVBfQCZ5FSCukin2KBrEkTq5%2B2u3WSPg3UNsLj-2bug-fBg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
