Skip to content

Instantly share code, notes, and snippets.

@DBMoUK
DBMoUK / gist:b5161dca6d301eb26bab
Created January 16, 2015 12:00
Deprecation Warning - RSpec
1) Solution Lab_PackageFileService manifest behaves like a solution manifest on first application should have empty stderr
Failure/Error: expect(r.stderr).to eq("")
expected: ""
got: "\e[1;31mWarning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.\n (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')\e[0m\n"
(compared using ==)
Diff:
@@ -1 +1,3 @@
# === Authors
#
# David Bryant-Moore <[email protected]>
#
# === Copyright
#
# Copyright 2015 Puppetlabs.
#
class ensuretlsv1 {
define reporting::exception::package (
$package
){
Exec {
user => 'peadmin',
path => ['./mcollective','/usr/local/bin','/usr/bin'],
}
exec {"mco-packages-${title}":