I think what you were seeing is related to the last note on this page:

http://docs.puppetlabs.com/puppet/latest/reference/lang_import.html

Restarting the master should have corrected it, did you end up trying that?


Rich





On Mon, Jun 30, 2014 at 12:15 PM, Sergey Arlashin <
[email protected]> wrote:

> I half an hour it magically started to work. Seems to be some caching
> issue?
> Did I need to restart puppet master after removing 'imports' ? Or do
> something like this ?
>
> --
> Best regards,
> Sergey Arlashin
>
>
>
> On Jun 30, 2014, at 10:07 PM, Sergey Arlashin <
> [email protected]> wrote:
>
> > I forgot to mention that I'm using directory environments.
> > Also when I remove site.pp I get
> > Error: Could not run: Could not find file
> /etc/puppet/environments/production/manifests/site.pp
> >
> > --
> > Best regards,
> > Sergey Arlashin
> >
> >
> >
> > On Jun 30, 2014, at 9:52 PM, Sergey Arlashin <
> [email protected]> wrote:
> >
> >> Hi!
> >>
> >> I used 'import' in my previous config.
> >>
> >> I had the following structure:
> >>
> >> site.pp :
> >> import 'nodes.pp'
> >>
> >> nodes.pp:
> >> import 'node1.pp'
> >> import 'node2.pp'
> >> import 'node3.pp'
> >> etc.
> >>
> >> Now I'm moving to 3.6.2 and after getting the deprecation warning
> decided to remove all imports from my manifests.
> >>
> >> Now puppet agent seems to ignore all my config. None of my modules is
> applied. --debug shows that it doesn't try to apply anything at all.
> >>
> >> Could anyone tell me if it is normal? :) Or may be I'm doing something
> wrong? Or may be this is a bug?
> >>
> >> # puppet config print manifest
> >> /etc/puppet/environments/production/manifests
> >>
> >>
> >> Thanks in advance!
> >>
> >> --
> >> Best regards,
> >> Sergey Arlashin
> >>
> >>
> >>
> >>
> >>
> >
>
> --
> 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/11585190-5027-4311-8480-51B27754F4B8%40gmail.com
> .
> 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/CAPGcbtBePXVesAKOueCQBAAU-NkFSv3F1HMYkh-FcVqAfOCQoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to