Is there a way of invoking salt-cloud with a map file from GitFS?
i.e. can I run something like this: sudo salt-cloud -m salt://map.sls?
Edit: Seems like this currently is not possible. As per #Utah_Dave's suggestion I created an issue in github.
That's not supported right now.
Salt Cloud requires the map file exist on the same box Salt Cloud is running from.
I think that's an interesting use case, though. I can see how that would be handy to keep the map files in git. I think it should be doable to add that feature in. Please feel free to open an issue requesting that feature here: https://github.com/saltstack/salt/issues/new
Thanks!
Related
In the course I am taking, Github is being linked with R. But in the executable svn section I cannot put anything. And I don't know if I have to download something or what I'm supposed to do. In the course they do not explain anything about that point, which makes me think that it is something obvious or simple, but I have no idea about it.
Sorry for the inconvenience.
If this is about linking GitHub and RStudio, then you don't need to set anything in the SVN field.
Having specified the Git executable is enough.
Make sure your public SSH key is registered to your GitHub account.
The OP reports:
A friend told me to right click on the r icon and run as an administrator
That means the SSH keys might have been accessible only from admin account, as opposed to regular user account.
I have not been able to find any reference for the options passed into the node module version of firebase-tools. How do one turn on diagnostic logging or progress output? The github README for firebase tools only says:
The Firebase CLI can also be used programmatically as a standard Node module. Each command is exposed as a function that takes an options object and returns a Promise.
and has only the example:
client.deploy({
project: 'myfirebase',
token: process.env.FIREBASE_TOKEN,
cwd: '/path/to/project/folder'
}).then(function() {...
It would be really nice to get complete docs. The source code wasn't much help.
There isn't a good way to see progress via the programmatic API for the Firebase CLI right now. Your best bet would be to instead use spawn or similar to run it as a process and simply capture the stdout.
We'd like to improve this in the future but there are no concrete plans of what it will look like yet.
To see the complete list of keys off of the client object, see commands/index.js
In terms of what options to pass in, that is definitely hard to figure out. This seems like a great chance to submit an issue requesting specific improvements to documentation, or take a shot at documenting it yourself and submit a PR.
I am looking for a solution that would allow me to have a network share where people can access (read-only) the artifacts from an Artifactory repository.
Why? We use Artifactory to also keep track of big binaries like installation kits, ISO images and so on and it takes a lot of time to download all of them (sometimes as zips), unpack and run them. If these would be exported to a NFS/SMB share people would be able to only mount them in order to use them.
How can we achieve this? Please keep in mind that we also want to automate this, so the files would be updated by Artifactory when needed.
Artifactory supports WebDAV out of the box.
It seems that's not possible at this moment and there is a feature request for enabling it:
https://www.jfrog.com/jira/browse/RTFACT-8302
Feel free to vote and to comment on it, allowing jFrog to realise how important is this use case.
I guess they should be able to provide a script that does mirror/sync a repository to a NFS share but that would almost double the storage space needed.
Instead if they would use hardlinks or symlinks to create a browsable tree of the repository inside the storage directory, this would be solved and no sync will be needed.
I've found several rsync commands for moving my wordpress site from one local machine to a remote server. I've successfully used the following command suggested by another Stackoverflow user:
rsync -aHvz /path/to/sfolder name#remote.server:/path/to/remote/dfolder
Would you say that it's enough, or would you suggest other attributes?
It's my understanding that an SSH connection would be safer. How does this command change if I want to make it over SSH. Also are there other things to be done besides including the SSH command ( like generating/installing the keys etc etc ). I just starting so a detailed explanation for a noob would be very much appreciated.
Pakal
There are thousands of ways in which you can customize this powerful command. Don't worry about SSH, by default its using SSH. Rest of the options depend on your requirement. You can consider '--perms' to preserve permissions. Similarly '-t' preserves times. I don't know if its relevant in transfer of a site.
Also '-n' would show you a dry run of transfer scenario. '-B' switch allows you to override custom block size.
Probably you should have a look at options yourself and find the appropriate ones by running 'info rsync'.
the above command will use ssh and i see no problems with it's general usage.
Is there a simple way to have someone ssh into a machine and edit a text file while I view text they are writing?
I am interested in using this for phone screen interviews. Basically, I would tell the candidate to ssh into a particular machine and edit/compile a source file to test programming ability. Ideally, I would like to see what they are typing in real time rather than only when they save.
Is there a simple solution for this?
screen is the solution to this conundrum; see the -x option to create a shared session. You can create the session beforehand and have the dialin [ :) ] account invoke screen -x -R to attach to it. (I habitually use screen -A -U -R -x.)
You could use GNU Screen's multiuser feature (also called session sharing). http://aperiodic.net/screen/multiuser
It might be easier to setup a VNC & watch them that way. TightVNC allows you to run a 'web' server that they can connect to via a browser. http://www.tightvnc.com/winst.php#start_java
I've had a nothing but good experiences using a Google Doc for this. Realtime updating and collaboration for both parties, realtime cursor positions and highlighting for both parties, and it's stored somewhere really easy to get to afterwards, with revision history.
No syntax highlighting or auto-formatting, however, but honestly it's fine without it.