thijso
2013-May-28 06:50 UTC
[Puppet Users] Problem running 3.2.1 master with parser=future
First off, I was under the impression from what I have been able to find
about the future parser that old manifests should remain working. If there
are backwards incompatibilities I missed, then please ignore this (and
point me to where they are mentioned, please).
I have reduced my problem to a very simple and basic setup.
If I leave out the line "parser=future" from my [main] section in
puppet.conf on my master (hostname ''dua''), the following setup
works:
in nodes/dua.pp
-----
node ''dua'' inherits ''sistemdasar'' {}
----
in nodes/sistemdasar.pp
----
node ''sistemdasar'' {
package { ''screen'':
ensure => latest,
}
}
----
And in my debug output I also see that screen is checked to be the latest
version.
When I insert the line "parser=future" in my [main] section in
puppet.conf
and change nothing else, I get the following error when running ''puppet
agent --test'':
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type ''"sistemdasar"''
of type node in
production at /etc/puppet/manifests/nodes/dua.pp:1 on node dua
Is this a bug? Wrong expectations? Deprecated syntax (I''m coming back
to
puppet after a very long time, and those manifests above are an adaptation
of quite old stuff I had)?
Thijs
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Nikolay Georgieff
2013-Aug-24 06:46 UTC
[Puppet Users] Re: Problem running 3.2.1 master with parser=future
I have the same issue but if I use "puppet apply --parser future" it works. On Monday, May 27, 2013 11:50:50 PM UTC-7, thijso wrote:> > First off, I was under the impression from what I have been able to find > about the future parser that old manifests should remain working. If there > are backwards incompatibilities I missed, then please ignore this (and > point me to where they are mentioned, please). > > I have reduced my problem to a very simple and basic setup. > > If I leave out the line "parser=future" from my [main] section in > puppet.conf on my master (hostname ''dua''), the following setup works: > > in nodes/dua.pp > ----- > node ''dua'' inherits ''sistemdasar'' {} > ---- > > in nodes/sistemdasar.pp > ---- > node ''sistemdasar'' { > package { ''screen'': > ensure => latest, > } > } > ---- > > And in my debug output I also see that screen is checked to be the latest > version. > > When I insert the line "parser=future" in my [main] section in puppet.conf > and change nothing else, I get the following error when running ''puppet > agent --test'': > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not find parent resource type ''"sistemdasar"'' of type node in > production at /etc/puppet/manifests/nodes/dua.pp:1 on node dua > > Is this a bug? Wrong expectations? Deprecated syntax (I''m coming back to > puppet after a very long time, and those manifests above are an adaptation > of quite old stuff I had)? > > > Thijs >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.