This file contains hidden or 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
def version | |
Puppet.info("Entering Version") | |
package = resource[:package_list].first | |
package = package.to_s | |
Puppet.info("#{package}") | |
version = rpm('-q', package) | |
if version =~ /^#{Regexp.escape(package)}-(.*)(.*)/ | |
Puppet.info("#{$1}") | |
$1 | |
end |
This file contains hidden or 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
debug: Puppet::Type::Xpack::ProviderYum: Executing '/bin/rpm -q Co-TickerPlant-Core' | |
info: 3.1.9-49562.10263.4.x86_64 | |
info: Leaving Version | |
/usr/lib/ruby/site_ruby/1.8/puppet/property.rb:277:in `send' | |
/usr/lib/ruby/site_ruby/1.8/puppet/property.rb:277:in `retrieve' | |
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:720:in `retrieve' | |
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:715:in `each' | |
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:715:in `retrieve' | |
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:728:in `retrieve_resource' | |
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:32:in `perform_changes' |
This file contains hidden or 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
require 'puppet/util/package' | |
Puppet::Type.type(:xpack).provide(:yum) do | |
desc "Installation of Exegy specific packages." | |
has_feature :versionable |
This file contains hidden or 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
ebug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y downgrade CO-PreStack-NIC-Drivers-kernel-3.0.29-0.0.tk.co.3.1.9-49562.' | |
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q CO-PreStack-NIC-Drivers-kernel-3.0.29-0.0.tk.co --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH} | |
err: /Stage[main]/CO::Xrole::Core/Package[CO-PreStack-NIC-Drivers-kernel-3.0.29-0.0.tk.co]/ensure: change from 3.1.12-51995.12173 to 3.1.9-49562. failed: Could not update: Failed to update to version 3.1.9-49562., got version 3.1.12-51995.12173 instead at /etc/puppet/dev/modules/co/manifests/xrole.pp:105 |
This file contains hidden or 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
err: /Stage[main]/Company::Xrole::Core/Package[Company-Core]/ensure: change from 3.1.10-49936.10934.1 to 3.1.9-49562.10263 failed: Could not update: Failed to update to version 3.1.9-49562.10263, got version 3.1.10-49936.10934.1 instead at /etc/puppet/dev/modules/company/manifests/xrole.pp:92 |
This file contains hidden or 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
def install | |
should = @resource.should(:ensure) | |
self.debug "Ensuring => #{should}" | |
wanted = @resource[:name] | |
operation = :install | |
case should | |
when true, false, Symbol | |
# pass | |
should = nil |
This file contains hidden or 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
err: /Stage[main]/Company::Xrole::Core/Package[Company-package]/ensure: change from 3.1.12-51286.12173 to 3.1.11-51613.12503 failed: Could not update: Failed to update to version 3.1.11-51613.12503, got version 3.1.12-51286.12173 instead at /etc/puppet/dev/modules/exegy/manifests/xrole.pp:92 |
This file contains hidden or 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
<? $username = "bestumcx_pizza"; | |
$password = 'test'; | |
$hostname = "localhost"; | |
echo $username; | |
?> | |
Parse error: syntax error, unexpected T_ECHO in /home/bestumcx/public_html/laszlospizza.com/index.php on line 5 |
This file contains hidden or 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
Ign http://apt.opscode.com precise-0.10 InRelease | |
Hit http://apt.opscode.com precise-0.10 Release.gpg | |
Ign http://us.archive.ubuntu.com precise InRelease | |
Ign http://us.archive.ubuntu.com precise-updates InRelease | |
Ign http://us.archive.ubuntu.com precise-backports InRelease | |
Hit http://apt.opscode.com precise-0.10 Release | |
Hit http://us.archive.ubuntu.com precise Release.gpg | |
Hit http://apt.opscode.com precise-0.10/main amd64 Packages | |
Hit http://us.archive.ubuntu.com precise-updates Release.gpg | |
Hit http://apt.opscode.com precise-0.10/main |
This file contains hidden or 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
he following packages have unmet dependencies: | |
libssl-dev : Depends: libssl1.0.0 (= 1.0.1-4ubuntu5.6) but 1.0.1-4ubuntu5.8 is installed |