forked from puppetlabs/puppet
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'zaphod42/bug/2.7.x/8174-incorrect-warni…
…ng-about-deprecated-scoping' into 2.7.x * zaphod42/bug/2.7.x/8174-incorrect-warning-about-deprecated-scoping: Removed duplication of compiling a catalog Cleaner test for create_resources doing nothing Fixing problem caused by activerecord
- Loading branch information
Showing
4 changed files
with
177 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module PuppetSpec::Compiler | ||
def compile_to_catalog(string) | ||
Puppet[:code] = string | ||
Puppet::Parser::Compiler.compile(Puppet::Node.new('foonode')) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters