Updating pkgsrc

30-Apr-2019 08:07

), but is just an example of how onboarding Smart OS into your environment can be low-friction for most common tooling.Let’s assume a Topfile, with a structure like: So, basically, what we’re doing here is setting some environmental variables, downloading a tarball, and unarchiving it.The last thing I’ll demonstrate here is persisting the platform upgrade script to move your Smart OS release on the USB key up to the next release!One of my absolute favorite things about Smart OS is that I don’t need to reimage my installation media and reinstall the OS each time there is a new release — you can do both manually, but there is an so using the tooling available in Salt Stack I can pull the script (though it has not been updated in a while, this could change, and I want the current version, so I will not manage the script as a file resource instead), and include it into my path: earlier which, itself, allows Salt Stack to require, and install if not present, the git package.— — There’s a lot of things I could’ve done differently here to make this a better long-term approach, but like I said, this is a work in progress (and, full disclosure, I was hesitant to allocate time to fully integrating these hosts, and now I wish i had!In a subsequent state, I might delegate in the Topfile to a follower node for additional compute nodes with a command like:in the last part of a follower state, where I use whatever logic might be appropriate — at present, I define much of this manually because my hardware is a known quantity, and my network management is a work in progress.Running a service like this in a zone, like I do, is a little more straightforward, and can be managed natively in Salt:consul-leader.local: smartos.vm_present: - config: reprovision: true - vmconfig: image_uuid: 7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b brand: lx alias: consul-leader quota: 2 max_physical_memory: 2048 nics: "82:1b:8e:49:e" nic_tag: admin ips: - dhcpto store the relevant zone ID, and then download the binary to the zone filesystem, and then run the unarchive job from above on whatever path in the lx-brand zone filesystem.

In this case, we’ll want a leader and then a series of followers for Consul, so we’ll add this state, be available on the system), and then setting permissions for the consul package, and then starting a basic Consul leader server.Pre-built binary packages of the pkgsrc-2013Q4 branch (from January 2014), built for recent Mir OS-current, are available.They can be used even if you did not install a compiler on the system. The packages have been built with as VARBASE so that they are self-contained. pkgsrc can also be installed as an unprivileged user but you will need to build from source in this case.(Once I tried to convince them to install No Machine NX, but they thought NX has too many vulnerabilities.In stead, they told me to use rhevm, which is unfortunately not well supported on Mac OS X.

In this case, we’ll want a leader and then a series of followers for Consul, so we’ll add this state, be available on the system), and then setting permissions for the consul package, and then starting a basic Consul leader server.Pre-built binary packages of the pkgsrc-2013Q4 branch (from January 2014), built for recent Mir OS-current, are available.They can be used even if you did not install a compiler on the system. The packages have been built with as VARBASE so that they are self-contained. pkgsrc can also be installed as an unprivileged user but you will need to build from source in this case.(Once I tried to convince them to install No Machine NX, but they thought NX has too many vulnerabilities.In stead, they told me to use rhevm, which is unfortunately not well supported on Mac OS X.🙂 ) After some not so brief search on Internet, I got some choices as following: Then you will see some messages requiring you to download vulnerabilities file daily.